Print problem

5 years 7 months ago #5923 by kristinada
Hello,

I need your help with SIGE gallery. It does not work when trying to print image from slimbox. It doesnt generate right path in a way.
It generates a lot for %

F.eks: %2Fimages%2Fstories%2Fgalleri%2F12_1.jpg&name=&caption=

And then I get Internal server error...

Please help me...

I am using Joomla 1.5.25

Best regards.

5 years 7 months ago #5929 by Vitja
Hi Kristina,

that is correct. It has to look like this:
<a target="_blank" title="Drucken / Print" href="http://localhost/joomla15/plugins/content/plugin_sige/print.php?img=http%3A%2F%2Flocalhost%2Fjoomla15%2Fimages%2Fstories%2Ffood%2Fbread.jpg&amp;name=bread"><img src="http://localhost/joomla15/plugins/content/plugin_sige/print.png"/></a>

The URL to the image is encoded and decoded back in the script.

Check the rights on your server.

Which version of the plugin do you use? Please also post a link to your website.

Regards

Kubik-Rubik Joomla! Extensions

Please support my work with a review in the Joomla! Extensions Directory: extensions.joomla.org/profile/profile/details/61997
5 years 7 months ago #5950 by kristinada
Well, then there are some permission problem...

Gallery url: www.kristina-aas.com/bad/index.php?optio...icle&id=11&Itemid=75

I am using: SIGE - Simple Image Gallery Extended - Version 1.5-15

I really need it to work... Is there some special folder that SIGE gallery need special permission?

Download options is working nice, but I really need print option...

Best regards...
5 years 7 months ago #5960 by Vitja
Try this:

Open: sige.php (plugins/content)

Search line 955 and change:
rawurlencode($mosConfig_live_site.$rootfolder.$_images_dir_.'/'.$images[$a]['filename'])

into
rawurlencode(.'/bad'.$rootfolder.$_images_dir_.'/'.$images[$a]['filename'])

Regards

Kubik-Rubik Joomla! Extensions

Please support my work with a review in the Joomla! Extensions Directory: extensions.joomla.org/profile/profile/details/61997
Time to create page: 0.100 seconds