- Posts: 3
COMMUNITY FORUM
- Forum
- Commercial Joomla Extensions & Templates
- Simple Image Gallery PRO
- Solved: thumbnails not shown
Support requests should ONLY be directed there and require an active subscription plan.
This forum board is to be used for archive purposes and knowledge exchange ONLY.
Solved: thumbnails not shown
- Andreas Kunz
-
Topic Author
- Offline
- New Member
i do have the following problem with SIG pro:
The thumbnails are created in temp-folder, but they do have chmod 600. After changing manual in readable, everything works correct until new temp images are created, because these get chmod 600 once again.
Is there anything i can do to solve this?
Thank you,
Andy
Please Log in or Create an account to join the conversation.
- JoomlaWorks Support Team
-
- Offline
- Platinum Member
- Posts: 1188
I'm afraid this is permissions issue... You need to set the php in mode that any user can execute the task under his permissions and not under "nobody".
It's better you contact your server administrator to help you on that!
Thank you!
Please Log in or Create an account to join the conversation.
- Andreas Kunz
-
Topic Author
- Offline
- New Member
- Posts: 3
If somebody has the same problem, here's a way i did solve it:
in sigproengine.php
to find in /mambots/content/plugin_jw_sigpro/ under joomla 1.0
or in /plugins/content/jwsigpro/ with joomla 1.5
add the following line near the end of the file:
...
old: $this->SaveImage($ni, $to_name);
new: chmod($to_name, 0644);
old: }
old:
old: }
old:
old: ?>
I had to do this, as every file published in a temp or tmp directory is at first published without public reading-rights.
Hope i could help somebody by this,
Andy
Please Log in or Create an account to join the conversation.
- Hj Izad Rithauddin Hj Abd Majid
-
- Offline
- New Member
- Posts: 11
Please Log in or Create an account to join the conversation.
- Andreas Kunz
-
Topic Author
- Offline
- New Member
- Posts: 3
Also you seem to have another version, i don't have a sigengine_pro.php
This "fix" only helps if
- the images in the temporary folder are (!) created by simple image gallery pro
- the images have the wrong chmod of 600 instead of 644 and therefore aren't displayed
I'm not a good coder, but it did help with my site, that is.
The additional line only changes the chmod of the thumbnails directly after they are created. I don't know what happens, if the file was not created before, but I could imagine the script stops with an error, as there is no file to chmod. Only delete the above line and everything should be as before.
If the thumbnails aren't created, there might be missing write-right.
Try to chmod the temporary directory of your thumbnails to 744 or 774.
Hope that works for you
Please Log in or Create an account to join the conversation.
- JoomlaWorks Support Team
-
- Offline
- Platinum Member
- Posts: 1188
Nice catch kunz.andy!
I proposed to resolve this issue from the server, because the same problem will
have all the components that are installed with the specific user.
Also, I'm not sure if the script will be ok under ISS.
But it's ok! I agree for a quick fix!
Thank you!
Please Log in or Create an account to join the conversation.
- Hj Izad Rithauddin Hj Abd Majid
-
- Offline
- New Member
- Posts: 11
Please Log in or Create an account to join the conversation.
- JoomlaWorks Support Team
-
- Offline
- Platinum Member
- Posts: 1188
Can you please post a direct link to the exactly gallery where I can see the problem?
I have just seen the page
zadm.net/index.php?option=com_content&task=view&id=53&Itemid=41
and I can see a working sig pro gallery.
You can change the temp folder, or delete and re-create it!
Thank you!
Please Log in or Create an account to join the conversation.
- Hj Izad Rithauddin Hj Abd Majid
-
- Offline
- New Member
- Posts: 11
zadm.net/index.php?option=com_content&task=view&id=67&Itemid=41
how to fix this? is it chmod issue again?
Please Log in or Create an account to join the conversation.
- JoomlaWorks Support Team
-
- Offline
- Platinum Member
- Posts: 1188
Hmmm, at the page source, for the first thumb we have the original image
http://www.zadm.net/images/stories/wedding/M_H/M_H1.jpg
But when I try to see it throw the browser, your server returns this error
Internet Explorer cannot display the webpage
Can you please check the integrity of the images?
Thank you!
Please Log in or Create an account to join the conversation.
- Hj Izad Rithauddin Hj Abd Majid
-
- Offline
- New Member
- Posts: 11
Please Log in or Create an account to join the conversation.
- JoomlaWorks Support Team
-
- Offline
- Platinum Member
- Posts: 1188
If your server continues to return this error, reupload the image.
If you still have this issue, edit the image with some application ( like photoshop ) and extract the image for "internet purposes" with 70dpi.
Until the server doesn't return the image, the script cannot run as must!
Thank you!
Please Log in or Create an account to join the conversation.
- Forum
- Commercial Joomla Extensions & Templates
- Simple Image Gallery PRO
- Solved: thumbnails not shown