Hi! Thanks a lot for the greatest component, I use it since joomla 1.5 =)
Now, I have small question. I want to disable creation of large photo previews (because I show original photo, already optimized for web).
How I can do it without ugly hardcode?
I found the same topic: viewtopic.php?t=2122&p=11353
But it was created 9 years ago, and I hope that something changes since then.
How to disable creation of large photo previews?
- Matysh
- Phoca Newbie
- Posts: 5
- Joined: 17 Jan 2017, 15:20
- Jan
- Phoca Hero
- Posts: 47887
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: How to disable creation of large photo previews?
Hi, try to see this code:
administrator\components\com_phocagallery\libraries\phocagallery\file\filethumbnail.php
line cca 283, 285, comment the lines beginning with:
PhocaGalleryFileThumbnail::createFileThumbnail
Jan
administrator\components\com_phocagallery\libraries\phocagallery\file\filethumbnail.php
line cca 283, 285, comment the lines beginning with:
PhocaGalleryFileThumbnail::createFileThumbnail
Jan
If you find Phoca extensions useful, please support the project