Page 1 of 1
Cannot create thumbnails!
Posted: Mon Jan 21, 2013 5:38 pm
by girgis77
Hi, when i try to insert a gallery using the button on the editor i get this error
Cannot create thumbnails!
Width and height must be greater then 0
Admiror Gallery: 4.5.0
Server OS:Apache
Client OS:Windows NT 4.0
PHP:5.2.17
you can see live website here
http://justegypttours.com/en/#
Thanks for support!
Re: Cannot create thumbnails!
Posted: Wed Jan 23, 2013 11:35 am
by Vasiljevski
I cannot find where is the problematic page, so I guess that you fixed the problem
On you Photo Gallery page, you have albums and when I open an album I have thumbs folder also. I guess that some other plugin created it. You can remove it

Re: Cannot create thumbnails!
Posted: Wed Jan 23, 2013 5:22 pm
by girgis77
sorry i disabled the module, i will enable it again, thanks
Re: Cannot create thumbnails!
Posted: Wed Jan 23, 2013 11:01 pm
by Vasiljevski
I cannot reproduce the same error at my side, so I need some more info from you to resolve the problem
Can you copy me the text that is added to the article when you use Admiror Button?
Is it just:
or something like this:
Code: Select all
{AG rootFolder="/images/sampledata/" thumbWidth="200" thumbHeight="120" thumbAutoSize="none" arrange="priority" backgroundColor="ffffff" foregroundColor="808080" highliteColor="fea804" frame_width="500" frame_height="300" newImageTag="1" newImageTag_days="7" paginUse="1" paginImagesPerGallery="2" albumUse="1" showSignature="1" plainTextCaptions="1" ignoreError="1" ignoreAllError="0" template="classic" popupEngine="slimbox"}parks\landscape{/AG}
You said that you load the plugin within the module, is it some standard module that comes with Joomla or an extension from Joomla Extensions site?
We have a bug on Windows servers when adding gallery using Admiror Button. It adds '\' instead of '/' for directory separator. So if you are adding a images like the second example, you need to change the part "parks\landscape" to "parks/landscape"
Also I want to thank you, I wouldn't discover this bug with Admiror Button without you

Re: Cannot create thumbnails!
Posted: Wed Jan 23, 2013 11:53 pm
by girgis77
Hi, thanks for your help.
I use custom HTML module and here is the code that was inserted into it using the button
{AG rootFolder="/images/sliders" thumbWidth="200" thumbHeight="120" thumbAutoSize="none" arrange="priority" backgroundColor="021325" foregroundColor="808080" highliteColor="fea804" frame_width="500" frame_height="300" newImageTag="1" newImageTag_days="7" paginUse="1" paginImagesPerGallery="10" albumUse="1" showSignature="1" plainTextCaptions="1" ignoreError="1" ignoreAllError="0" template="galleryView" popupEngine="fancybox"}Just Egypt Photos{/AG}
im on Linux not windows
Re: Cannot create thumbnails!
Posted: Thu Jan 24, 2013 12:44 am
by Vasiljevski
Hmmm, this is strange, at my side everything is working OK.
I also added Custom HTML under my top menu, gallery is shown.
In general problem is, as it says, with parameters. For some reason parameters are not read correctly. But because width and height are the most important ones, gallery stops if they are 0.
Sorry, but without access to your back-end it is hard to find what is the problem.
If you have the time and will I can instruct you to add some prints in the gallery code so I could get more info on this issue and hopefully resolve it. But I will understand if you don't

Re: Cannot create thumbnails!
Posted: Thu Jan 24, 2013 12:52 am
by girgis77
thanks a lot for your help, i can send you access info to back end but where can i send you a private message on this forum
Re: Cannot create thumbnails!
Posted: Thu Jan 24, 2013 1:13 am
by Vasiljevski
It is best to send it by mail, you can find it in my info.
Re: Cannot create thumbnails!
Posted: Thu Jan 24, 2013 1:22 am
by girgis77
ok i sent it to the hotmail account, thanks
Re: Cannot create thumbnails!
Posted: Thu Jan 24, 2013 1:39 am
by Vasiljevski
Well the problem you have is caused by your editor JoomlaCK. When you add the code by using Admiror Button it all looks fine, but the editor is converting it to :
<p>
{AG rootFolder="/images/sliders" thumbWidth="200" thumbHeight="120" thumbAutoSize="none" arrange="priority" backgroundColor="021325" foregroundColor="808080" highliteColor="fea804" frame_width="500" frame_height="300" newImageTag="1" newImageTag_days="7" paginUse="1" paginImagesPerGallery="10" albumUse="1" showSignature="1" plainTextCaptions="1" ignoreError="1" ignoreAllError="0" template="galleryView" popupEngine="fancybox"}Just Egypt Photos/Aswan{/AG}</p>
You can see it by pressing Source button in the upper left corner of editors toolbox.
If you switch to Source view, than Admiror Button, for some reason, will not insert the code.
So you should add the gallery in the normal view, copy the text, switch to Source view, paste it and save.