OS Property support center

Slimbox image path

More
6 years 7 months ago #103816 by adam
Slimbox image path was created by adam
Using theme 1

what file I have to edit to load in the slimbox the meduim images and not the originals

current: /images/osproperty/properties/151/
what I am looking for:
/images/osproperty/properties/151/medium

thanks

Please Log in or Create an account to join the conversation.

More
6 years 7 months ago #103817 by Mr. Dam
Replied by Mr. Dam on topic Slimbox image path
Hi Adam,
You can modify links to the pictures on Slideshow through file:
root > components > com_osproperty > templates > your_using_template > details.html.tpl.php
Thanks
Dam

Please Log in or Create an account to join the conversation.

More
6 years 7 months ago #103819 by adam
Replied by adam on topic Slimbox image path
I tried that before didn't work
should it not be in the common.php
line 3387
$property_photo_link = JURI::root()."images/osproperty/properties/".$pid."/";
should this path not be going to medium? And if so how should be the line be

Thanks

Please Log in or Create an account to join the conversation.

More
6 years 7 months ago #103872 by Mr. Dam
Replied by Mr. Dam on topic Slimbox image path
Hi,
You just need to change
$property_photo_link = JURI::root()."images/osproperty/properties/".$pid."/";
by
$property_photo_link = JURI::root()."images/osproperty/properties/".$pid."/medium/";

Thanks
Dam

Please Log in or Create an account to join the conversation.

Moderators: Mr. DamNguyen Phu Quan