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
detail view - original size
- Jan
- Phoca Hero

- Posts: 49144
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: detail view - original size
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
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
If you find Phoca extensions useful, please support the project
-
romino
- Phoca Newbie

- Posts: 4
- Joined: 31 May 2010, 11:12
Re: detail view - original size
Hi;
thanks for the information ... but i didn't found the paths
Could you help me more precisly?
Regards
thanks for the information ... but i didn't found the paths
Could you help me more precisly?
Regards
-
romino
- Phoca Newbie

- Posts: 4
- Joined: 31 May 2010, 11:12
Re: detail view - original size
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:
and there it is ...
Doing this, you make phoca showing original picture instead of large thumb one.
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);Doing this, you make phoca showing original picture instead of large thumb one.
- Jan
- Phoca Hero

- Posts: 49144
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
-
naturphotos
- Phoca Member

- Posts: 11
- Joined: 23 Nov 2011, 12:13
Re: detail view - original size
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 !
*solved by myself*
does also work with phoca gallery 4 !
- Benno
- Phoca Hero

- Posts: 9966
- Joined: 04 Dec 2008, 11:58
- Location: Germany
- Contact:
Re: detail view - original size
@ naturphotos
Kind regards,
Benno
*solved by myself*
Kind regards,
Benno