akohan
asked on
Showing pictures in PHP
Hello group,
I'm uploading images on site (developed in zen cart using PHP) and the problem is that some pictures are vertical and some are horizontal ... and the way they look is not fine. How can I work around this issue?
what is the best practice to show them properly?
Thank you,
ak
I think I would create a transparent canvas and resize them proportionally to fit either the width or height of the canvas. If you find that does not give good results, and you need to choose, then resize to fit the width and let the height (y-axis) fall where it may.
Create thumbnails of images and display original image in pop up when user clicks on thumbnail.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.