Page 1 of 1

detail view - original size

Posted: 31 May 2010, 11:34
by romino
Hi;

after having a look to all posts with this problem, i still have no answer of the correct to do it:

I propose images to print, no photos.
When a user / visitor is looking to an image, the site have to show the original size photo, and then with a right clic he can print it.

Some options can nearly do it: highslide propose to open image in it's original size. BUT if you choose "print" from your browser, you print all the site and not only the image

Solution would be to use no-pop-up option or standard popup, but image shown comes from thumbs_l and not the originial image path.

How to make this change in php files? And tried to do it, but without any success ...

Thanks

Re: detail view - original size

Posted: 31 May 2010, 14:08
by Jan
Hi, then you need to change the paths in detail window:

components/com_phocagallery/views/detail/
components/com_phocagallery/model
components/com_phocagallery/controller

find the path to large image and change it to path of original images

see libraries folder in administration to get more info about path Class.

Jan

Re: detail view - original size

Posted: 31 May 2010, 17:09
by romino
Hi;

thanks for the information ... but i didn't found the paths :(
Could you help me more precisly?

Regards

Re: detail view - original size

Posted: 03 Jun 2010, 14:28
by romino
well ... just found how to do :)

in the file:

administrator / components / com_phoca / libraries / phocagallery / file / filethumnail.php

on line 33, change the line with this one:

Code: Select all

			$thumbName->rel	= str_replace ($title, $title, $path->image_rel . $filename);
and there it is ...

Doing this, you make phoca showing original picture instead of large thumb one.

Re: detail view - original size

Posted: 09 Jun 2010, 13:21
by Jan
Ok

Re: detail view - original size

Posted: 16 Oct 2014, 13:00
by naturphotos
why can't i use that in Phoca Images 4? Is there any possibility to use this now again?

*solved by myself*

does also work with phoca gallery 4 !

Re: detail view - original size

Posted: 17 Oct 2014, 10:06
by Benno
@ naturphotos
*solved by myself*
:twisted:

Kind regards,
Benno