When submitting an image, I check the box indicating that I want Gallery to autogenerate the thumbnail image for me. After I submit the image, though, I get an error message telling me to please select a thumbnail to upload.
What am I doing wrong?
Thanks.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I went to that thread, and no answer there either.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Anonymous
-
2002-12-27
Hint
Select for your thumbnail the same image as the main image
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Anonymous
-
2003-02-17
i had the same problem and have managed to fix it by modifying index.php in the gallery directory.
throughout the file the test 'if($thumbnail == "none")' (or != or whatever) is made. i havent looked at it too closely but i assume that the test is for if a thumbnail is uploaded or not.
i simply changed all occurences of it to $thumbnail_name == '' (or !=) to get it to work.
i also put
disp_content($tran[msg_media_added],"");
to give a success message, at the end of the
if ((isset($add)) && (isset($submit))) block in the 'media_admin' case of index.php instead of the html_header_location(...) which was giving me problems
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi,
When submitting an image, I check the box indicating that I want Gallery to autogenerate the thumbnail image for me. After I submit the image, though, I get an error message telling me to please select a thumbnail to upload.
What am I doing wrong?
Thanks.
Please see the following thread:
http://sourceforge.net/forum/forum.php?thread_id=734813&forum_id=108529
I went to that thread, and no answer there either.
Hint
Select for your thumbnail the same image as the main image
i had the same problem and have managed to fix it by modifying index.php in the gallery directory.
throughout the file the test 'if($thumbnail == "none")' (or != or whatever) is made. i havent looked at it too closely but i assume that the test is for if a thumbnail is uploaded or not.
i simply changed all occurences of it to $thumbnail_name == '' (or !=) to get it to work.
i also put
disp_content($tran[msg_media_added],"");
to give a success message, at the end of the
if ((isset($add)) && (isset($submit))) block in the 'media_admin' case of index.php instead of the html_header_location(...) which was giving me problems