Page 1 of 1
Image Manager no thumbs
Posted: Sat Mar 01, 2014 5:57 pm
by agorman
Hi Can anyone tell me how to get the thumbs to show in image manager ? (everything else about the wonderful plug in works fine)
Attahed is an image of what I see.
Re: Image Manager no thumbs
Posted: Mon Mar 03, 2014 12:04 pm
by Vasiljevski
Hmm, that is strange.
What Joomla version are you using? On what OS do you run it?
What happens if you add menu item of Image Manager type?
Do you have the same problem when accessing Image Manager from front end?
It might be some path issue, probably. I'm not sure.
Re: Image Manager no thumbs
Posted: Mon Mar 03, 2014 12:42 pm
by Vasiljevski
http://www.vasiljevski.com/forum/viewto ... 3501#p3501
Here is a similar issue, don't know if suggested solution worked as the user never replayed.
Re: Image Manager no thumbs
Posted: Mon Mar 03, 2014 2:48 pm
by agorman
hi again, Thank you for your response.
My root
images directory and
/images/albums directory are both 755
Answers to some of your questions
I am using Joomla 2.5.18, and it is hosted on an Linux OS Apache 2 and php version is 5.3.3
I am the only user.
When I upload an image via Joomla interface all works fine and the image is also seen on the front end (as are all of the others),
http://www.realitytherapy-europe.org/in ... article-19 .
But in the image manager the broken icon thumb is the same as all other others.
I might try uninstalling / reinstalling the plugin to see what difference that makes.
UPDATE: I have uninstalled/reinstalled but with no difference. - the add/delete options in the image manager work fine, so all seems okay except for the image thumbs.
Re: Image Manager no thumbs
Posted: Mon Mar 03, 2014 5:31 pm
by Vasiljevski
No need to uninstall/install the component.
I tested here on my Virtual machine, I did not have any problems with Image Manager.
Can you check if there is any thumbnail in "administrator/components/com_admirorgallery/assets/thumbs"?
If thumbnails are missing, check you server error log (PHP and Apache) there should be an error that should give us some more clue on what seems to be the problem.
Re: Image Manager no thumbs
Posted: Wed Mar 05, 2014 3:48 pm
by agorman
Hi again,
There are no thumbs in the "administrator/components/com_admirorgallery/assets" directory.
I do not know how to access the server error log (PHP and Apache)
Re: Image Manager no thumbs
Posted: Thu Mar 06, 2014 12:13 pm
by Vasiljevski
Do you, maybe have some extra protection for administrator folder that could prevent script from outside it to access files that are located in administrator folder?
Anyhow, in file
administrator\components\com_admirorgallery\views\imagemanager\scripts\imgManager-render-folder.php line: 371:
Code: Select all
agHelper::ag_createThumb(JPATH_SITE . $ag_itemURL . $value, $thumbsFolderPhysicalPath . DS . $value, 145, 80, "none");
From what you said this function fails to create the thumbnails.
For further investigation, you could check
\plugins\content\admirorgallery\admirorgallery\classes\agHelper.php line 333 and see why does it fail to create the thumbnails. Just remove @ from each line in this function, and open Image Manager, you should see a Notice or Error at the top of the page that will give more info.
Just for reference, @ suppresses any error in PHP.
Re: Image Manager no thumbs
Posted: Thu Mar 06, 2014 3:06 pm
by agorman
First of all thank you for your time spent on this - I really appreciate it.
The imgManager-render-folder.php line: 371: agHelper::ag_createThumb(JPATH_SITE . $ag_itemURL . $value, $thumbsFolderPhysicalPath . DS . $value, 145, 80, "none"); is the same as your posting.
I am not sure which @ symbols on which lines I need to remove - I removed them from lines 343, 345, 347, but there is no error message in the image galery. Maybe I am removing the wrong things - should I continue down and remove all @ symbols (if so, up to which line) ? Below is a capture of my coding.
Re: Image Manager no thumbs
Posted: Sat Mar 08, 2014 12:18 am
by Vasiljevski
Is there a way to let me access your admin and check this issue?
In general remove all "@" in that function, to see what fails.
You should check your Hosting control panel, for Error log, that would help.
Re: Image Manager no thumbs
Posted: Tue Mar 11, 2014 8:17 pm
by agorman
Thank you Nicola for all your help.