OS Property support center

AD-Gallery

  • Bruckner
  • Topic Author
  • Offline
  • New Member
  • New Member
More
11 years 8 months ago #17749 by Bruckner
AD-Gallery was created by Bruckner
Hi,

AD Gallery
is it possible to maintain the proportions of the original photos?


fixed height (500px)
relatively large compared to the original

Not all (my) photos are original 4:3

an example:
Original Image ...




Image in the AD-Gallery(after upload):




i hope you can help me :-)
its a lot of code, i cannot find to set the parameter.
thanks a lot ..
Attachments:

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

More
11 years 8 months ago #17819 by Mr. Dam
Replied by Mr. Dam on topic Re: AD-Gallery
In the configuration, tab Images, you can setup the width and height sizes of the thumbnail photos and medium photos. I think you also need to adjust the photos before upload.
Thank you for your report.
Dam

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

More
11 years 8 months ago #17843 by sti
Replied by sti on topic Re: AD-Gallery

damdt wrote: In the configuration, tab Images, you can setup the width and height sizes of the thumbnail photos and medium photos. I think you also need to adjust the photos before upload.
Thank you for your report.
Dam


i think this is bad idea
Not all images are same.
the image should be auto re size using php image resize script,

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

More
11 years 8 months ago #17845 by Mr. Dam
Replied by Mr. Dam on topic Re: AD-Gallery
That solution still better than if we resize the properties's images depend one the width and height of the uploaded photos. The gallery in the property details page will urgly if the size of the photos are different, and the thumbnail photos of the properties in the listing page are clutter.
I have checked this problem in several rental properties (like EZ Realty or IProperty) components before i decided to work in that way.
Thanks
Dam

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

  • Bruckner
  • Topic Author
  • Offline
  • New Member
  • New Member
More
11 years 8 months ago #17922 by Bruckner
Replied by Bruckner on topic Re: AD-Gallery
Hi,

Please look at this script (there are only one php file and 2 js files)
but i need help to implement.

I think we need it all - pictures selection with jcrop.


index.php


add image



select crop



or crop this



the small images and thumpnails
in the script you can set the radio to crop (400x300, 200x200, 600x150)
however you want :-)




the script - please imlement it to os_property
we need it all :-)

lg
bruckner

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

More
11 years 8 months ago #17926 by Mr. Dam
Replied by Mr. Dam on topic Re: AD-Gallery
It's great idea, i think i will implement jcrop to allow administrator create the thumbnail and medium photos.
Thanks
Dam

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

  • Bruckner
  • Topic Author
  • Offline
  • New Member
  • New Member
More
11 years 8 months ago #17927 by Bruckner
Replied by Bruckner on topic Re: AD-Gallery
thanks,

But for the frontend, it would be important.
Not all the Users can crop pictures.(4:3, or 300x300 and so on) for ad-Gallery.

User listing Property ;-)

I do not want to make the Job for my users......


Lg
Bruckner

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

More
11 years 8 months ago #17933 by Mr. Dam
Replied by Mr. Dam on topic Re: AD-Gallery
Hi
We will implement this feature in the backend first, and i will hear the comments from customers before i apply it for the frontend.
Thanks
Dam

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

Moderators: Mr. DamNguyen Phu Quan