Needs review
Project:
Gallery Assist Upload and Import Helper
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
12 Mar 2010 at 08:36 UTC
Updated:
20 Sep 2010 at 13:42 UTC
I have Gallery Assist module 6.x-1.9-rc2 and Gallery Assist Upload and Import 6.x.-1.x-dev installed.
Preview upload size and preview display size are set to 980 (to fit screen in 1024x768), but imported images have size = 550 px.
Then I looked the line in Upload module:
$prev_size = $my_dim_ref < variable_get('gallery_assist_'. $node->type .'_preview_size', 550) ? $my_dim_ref : variable_get('gallery_assist_'. $node->type .'_preview_size', 550);
and have changed 550 to 980.
The result was that images are no more created in directory "prev" (only in "thm" and "img") and do not appear in my gallery.
Comments
Comment #1
dreich77 commentedNow I have tried to import 21 images to the gallery attached to some node.
11 images have been copied to /files/gallery_assist/1. And 10 have stayed in import folder.
Directories:
/files/gallery_assist/1/gallery_assist24
/files/gallery_assist/1/gallery_assist24/prev
/files/gallery_assist/1/gallery_assist24/thm
/files/gallery_assist/1/gallery_assist24/img
are empty.
And after refreshing the node I see a bunch of errors :
warning: imagejpeg() [function.imagejpeg]: Unable to open 'files/gallery_assist/1//img/1096286684.jpg' for writing: No such file or directory in Z:\home\krestmon\www\includes\image.gd.inc on line 212.
# warning: imagejpeg() [function.imagejpeg]: Unable to open 'files/gallery_assist/1//thm/1096286684.jpg' for writing: No such file or directory in Z:\home\krestmon\www\includes\image.gd.inc on line 212.
# warning: imagejpeg() [function.imagejpeg]: Unable to open 'files/gallery_assist/1//img/1096286694.jpg' for writing: No such file or directory in Z:\home\krestmon\www\includes\image.gd.inc on line 212.
...
total 21 warnings for each image.
Pay attention to double slashes // in warnings! Between those slashes should have been folder gallery_assist24 - corresponding to my node (id = 24)
Comment #2
jcmc commentedHello,
this bug is deprecated and not more conform with the new functionality from Gallery Assist.
By the upload process will only the original moved from temp. The same in GA-UPPORT the thumbnails and preview files are created later by view of the node or by the node edit form. If ImageCache and GA-IC are in use, the GA own presets thumbnails and preview are not necessary.
I would grateful if I get some feedbacks about the new functionality from UPPORT.
Thanks in advance
Juan Carlos