OrdaSoft forum
Welcome, Guest
Please Login or Register.    Lost Password?

VehicleManager component support

Go to bottom Favoured: 0

Photo size

janabak (Visitor)
Posts: 0
graphgraph
User Offline
Re:Photo size 14 Years, 7 Months ago
Karma: 0  
Can anybody explain in detail how to set image size for thumbnails to f.ex 120 height and 90 px width? I have read this thread but cant figure out how to do it. The front side picture is also stretched and I cant find a place to set this to a another size. All pictures I have uploaded is set to 640x480px. This gives a normal view of all pictures i full scale/lightbox. Why is all pictures deformated/stretched when scaled to thumbs and frontview?

Regards janabak
Logged Logged
The administrator has disabled public write access.
admin (Admin)
Admin
Posts: 8366
graph
User Offline Click here to see the profile of this user
Re:Photo size 14 Years, 7 Months ago
Karma: 102  
Hi,

For create thumbnails we use so algorithm, because main images may have very different size e.g. very big high and small width and vice versa.

For change images size in VehicleManager for small images in Gallery - in file admin.vehiclemanager.php please check function picture_thumbnail.

any way you can order any customization

Thanks,
Ordasoft team
Logged Logged
The administrator has disabled public write access.
janabak (Visitor)
Posts: 0
graphgraph
User Offline
Re:Photo size 14 Years, 7 Months ago
Karma: 0  
Can You please give me an example on what I have to change in the vehiclemanager.php file to change the thumbsize to another format? (not squared 70x70 but f.ex. H90xW120px)

The next question is about the picture one the Main page:
The original picture is (HxW: 480x640px, but is rescaled to 200x350, where do I set the right scale here?

I have tried to understand your answer but cant figure out why the pictures is transformed to another ratio than the originals.
When all pictures is uploaded in 3:4 scale, why mess with it?

I find this program unusable until I get this problems solved.

Regards
janabak
Logged Logged
The administrator has disabled public write access.
admin (Admin)
Admin
Posts: 8366
graph
User Offline Click here to see the profile of this user
Re:Photo size 14 Years, 7 Months ago
Karma: 102  
sorry for misunderstand,

When all pictures is uploaded in 3:4 scale, why mess with it?
If some user try uplad images like 1 - 120x20 and other - 30x200. If we for both so images will use 3:4 scale - we will take very bad look thumbnails!!!


Please open admin.vehiclemanager.php please check function picture_thumbnail find number 70 - and change it to any other !!!


exactly for main image:
please open file "vehiclemanager.html.php", find function "displayVehicle", and in it please chenge records
Code:

 
echo '<img src="'. $mosConfig_live_site.
'/components/com_vehiclemanager/photos/'.
$imageURL.'" height=200 width=350  ?>';


e.g. to
Code:

 
echo '<img src="'. $mosConfig_live_site.
'/components/com_vehiclemanager/photos/'.
$imageURL.'" height=480 width=640  ?>';



Thanks,
OrdaSoft team
Logged Logged
The administrator has disabled public write access.
Magnascan (Visitor)
Posts: 0
graphgraph
User Offline
Re:Photo size 14 Years, 7 Months ago
Karma: 0  
Hi Janabak

Be aware that the image resizing feature in the admin backend does not work, your main image will always come out at the size set in the vehiclemanager.html.php file and the secondary images will all display at their native size as uploaded. As for the thumbnails they are only available at the one width/height ratio, if you send up a portrait image for example it will be distorted to display at the size you set in the thumbnail and main image area, if effect unuseable. It's not much of an image managing piece of software, but for $30 I think its pretty good, I'm lucky, my client only uses landscape images so I don't have a problem.
Logged Logged
The administrator has disabled public write access.
admin (Admin)
Admin
Posts: 8366
graph
User Offline Click here to see the profile of this user
Re:Photo size 14 Years, 7 Months ago
Karma: 102  
Be aware that the image resizing feature in the admin backend does not work
With option "Vehicle photos size:" - we now check that and ASAP do update(we now work on that). Sorry we now rebuild very much other so not want show not completed product.

but for $30 I think its pretty good
Not understand what you means

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