OrdaSoft forum
Welcome, Guest
Please Login or Register.    Lost Password?
How to display a photo as a portrait when zoomed (0 viewing) 

Joomla Real Estate

Go to bottom Favoured: 0

How to display a photo as a portrait when zoomed

poaro (User)
Fresh Boarder
Posts: 6
graphgraph
User Offline Click here to see the profile of this user
How to display a photo as a portrait when zoomed 7 Months, 1 Week ago
Karma: 0  
How do I set my photos to be displayed as portrait in the Real Estate component? I mean the display when the photo is enlarged. When displayed as a thumbnail, it's OK to crop it and cut out parts of the photo.
For example: I upload a 600x800px photo, but when I enlarge it in the display itself, the program cuts it.
It should be shown to me in the original dimension, ie. orientation of the photo, such as portrait.
Thanks
Logged Logged
Last Edit: 2024/05/06 14:41 By poaro. Reason: Upload photo
The administrator has disabled public write access.
admin (Admin)
Admin
Posts: 8367
graph
User Offline Click here to see the profile of this user
Re:How to display a photo as a portrait when zoomed 7 Months, 1 Week ago
Karma: 102  
Hello

In Real Estate you may set Crop Images or Resize

Real Estate : Settings -> Administrator Settings ->Common Settings->Crop image

If you set "crop images" - when we create thumbnail images - we crop from image central part, so size of all images same.
If you set "resize images" - when we create thumbnail images - we resize the image with save sides ratio, so size of all images will not same. But - images will look same as you upload.

Also please check:
Real Estate : Settings -> Administrator Settings ->Common Settings->House upload photo size
If image which you upload more then this setting - we will resize it to these size. This need for not give to your clients upload very big Real Estate images

Regards
OrdaSoft team
Logged Logged
The administrator has disabled public write access.
poaro (User)
Fresh Boarder
Posts: 6
graphgraph
User Offline Click here to see the profile of this user
Re:How to display a photo as a portrait when zoomed 7 Months, 1 Week ago
Karma: 0  
I understand. Probably in the FREE version I don't have the Resize image option, only Crop images (see Attachment).
Question: Could I change the CSS and insert: style="width: 300px; height: 337px; object-fit: cover;" get thumbnails always the same size, while the photo when enlarged keeps its original orientation (e.g. portrait)?
I'll try somehow Anyway, thanks.
I'm testing the component a bit, so if it turns out OK, I'll switch to the PRO version
Greeting
Logged Logged
The administrator has disabled public write access.
admin (Admin)
Admin
Posts: 8367
graph
User Offline Click here to see the profile of this user
Re:How to display a photo as a portrait when zoomed 7 Months, 1 Week ago
Karma: 102  
Hello

If in Real Estate Settings you set "crop images" -> "No" - this mean - you select Images Resize

Please check: we resize image
1 - at time upload - how you set at "House upload photo size"
2 - at time first show in some layout (you may see settings for crop image for every layout type ). So if you need change image size in some layout - you need change image size in setting - and we will recreate new images for layouts

Images which we show in FancyBox - this original images - which you uploaded to website, BUT only if they size less size at "House upload photo size" - If size original image more - we will cut original image to size which you set at "House upload photo size" - and in Fancy box - we will show images how you set at "House upload photo size"

Please check - if image already uploaded to website, and it was big, it already cut to size at "House upload photo size". So if you need more big images - you need change "House upload photo size" - and again upload images


when you set real estate image size with help CSS - you only may change how this image will look on joomla website. The image source - depend from Real Estate settings and original image size which you uploaded

Regards
OrdaSoft team
Logged Logged
The administrator has disabled public write access.
Go to top
»