Hello, this is a desirable module to permit users to easily upload and display images on a site.

Is there any plan to port it to 4.7? I am not a coder, but i would be happy to help in any way i can (testing, feedback). Also, do you reckon would be complicated to port this to 4.7 following the handbook guide to convert modules?

cheers

Comments

David Stosik’s picture

Use img_assist instead... ;)

killes@www.drop.org’s picture

There is currently no plan. Hoever, i got a similar request yesterday and a patch might be provided by that requester.

marcoBauli’s picture

the fact is with img_assist the workflow for users to upload images is not as nice as for upload.image, that so far i reckon is the most straight / user friendly.

Another module does the job in an easy way: image_tab (currently not listed on project/modules, but present in the cvs repository). Unfortunately this is not ready for 4.6 too, and maybe the 'tab' used to insert images is not ideal.

Well, so not being a dev i will wait for the providence..;) what i can do is offer testing and feedback help to whoever will take this task into consideration.

vabue’s picture

I'm very interested in porting upload_image to 4.7 too.

killes@www.drop.org’s picture

I have started with the update to 4.7, please test the CVS version against 4.7.

pcwick’s picture

Drupal 4.7.2
PHP 5.1.2
MySQL 5.0.18

Upload_Image Module
$Id: upload_image.module,v 1.6 2005/11/09 14:15:11 killes Exp $

Returns the following error:

Warning: Call-time pass-by-reference has been deprecated - argument passed by value; If you would like to pass it by reference, modify the declaration of image_load(). If you would like to enable call-time pass-by-reference, you can set allow_call_time_pass_reference to true in your INI file. However, future versions may not support this any longer. in /home/.delmonte/pcwick/drp47/modules/upload_image/upload_image.module on line 66
pcwick’s picture

Actually, it is the most recent cvs version of the module dated "Last updated: April 7, 2006 - 18:15" on the module download page that produced this error.

The 2005 date was cut and pasted from the module code.

Hope that's clear.

killes@www.drop.org’s picture

removed the offending &.

pcwick’s picture

Module would not load. Unexpected end error.

Added a closing php tag at the end of the file.

Added two closing brackets to the "upload_image_form_alter" function.

I do not know what I am doing, but the module now loads.

marcoBauli’s picture

@pcwick: yep, that worked for me as well!

drewish’s picture

Status: Active » Needs review
StatusFileSize
new649 bytes

This patch closes the two, incomplete blocks in upload_image_form_alter().

killes@www.drop.org’s picture

Status: Needs review » Active

thanks, applied.

drewish’s picture

Status: Active » Needs review
StatusFileSize
new612 bytes

here's a .install file

drewish’s picture

Status: Needs review » Active

killes added that .install file and gave me CVS access. i've updated a chunk of the module to work with 4.7. it still takes an extra update to convert the files into image nodes.

drewish’s picture

Status: Active » Fixed

Everything should be working now. Please re-open the issue if that's not the case.

Anonymous’s picture

Status: Fixed » Closed (fixed)