Author Topic: Thumbnails rotated  (Read 247 times)

Topknotch

  • Jr. Member
  • **
  • Posts: 127
  • VirtueMart Version: 3.2.12 on joomla 3
Thumbnails rotated
« on: June 24, 2020, 16:57:29 pm »
Hi,
I have uploaded some images taken from my phone but the thumbnails are rotated, any ideas why please?
Thanks

AH

  • Global Moderator
  • Sr. Member
  • *
  • Posts: 3230
  • VirtueMart Version: 3.8.4
Re: Thumbnails rotated
« Reply #1 on: June 24, 2020, 19:02:26 pm »
Try not using your phone!

Or - maybe it was your phones issue
regards
A

Joomla 3.9.19
php 7.3

Topknotch

  • Jr. Member
  • **
  • Posts: 127
  • VirtueMart Version: 3.2.12 on joomla 3
Re: Thumbnails rotated
« Reply #2 on: June 24, 2020, 19:08:34 pm »
well that is a bit of a daft answer!
What if I am a florist and need to take pics with my phone, upload them to the site, then share them on social media??
Your suggestion would mean I have to buy a camera, take pics, then download them to the pc, shrink them, then upload them!!

It is quite a simple question and one that I am amazed has never been brought up before, as I searched and searched for it and found no answer!

GJC Web Design

  • 3rd party VirtueMart Developer
  • Super Hero
  • *
  • Posts: 9729
  • Virtuemart, Joomla & php developer
    • GJC Web Design
  • VirtueMart Version: 3.6.8
Re: Thumbnails rotated
« Reply #3 on: June 24, 2020, 19:44:28 pm »
all images have meta data that sets how the image is displayed .. 
if u open them on your PC you will find that they are also rotated etc ...  VM does no processing of the images ..  it displays what u upload..

But as your images are probably huge as well as rotated then the obvious thing if u want a quality site IS to pre-process them so they are of a sensible size, aspect and rotation before uploading them
GJC Web Design
VirtueMart and Joomla Developers - php developers http://www.gjcwebdesign.com
VM3 AusPost Shipping Plugin - e-go Shipping Plugin - VM3 Postcode Shipping Plugin - Radius Shipping Plugin - VM3 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
http://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

Topknotch

  • Jr. Member
  • **
  • Posts: 127
  • VirtueMart Version: 3.2.12 on joomla 3
Re: Thumbnails rotated
« Reply #4 on: June 24, 2020, 20:55:04 pm »
I get that, but as I pointed out, it is ONLY the thumbnails that are incorrect. NOT the product image. Also the phone is set to take square images 500px x 500px , so they will not need resizing.

Here is a screenshot link to explain further - https://prnt.sc/t5td0o
Thanks

Jörgen

  • Global Moderator
  • Sr. Member
  • *
  • Posts: 2850
    • Kreativ Fotografi
  • VirtueMart Version: 3.4.x
Re: Thumbnails rotated
« Reply #5 on: June 24, 2020, 21:04:47 pm »
As GJC sais VM displays what You upload.
Looking at Your images tells me that You probably use a custom template, my guess is that it could be Your templates handling of images that could cause this behaviour. Square images can in some rare circumstances need some extra handling.

Next issue is that uploading images with little or no compression and maybe with big pixel counts lead almost inevitably to long loading times for the website.


Jörgen @ Kreativ Fotografi
Joomla 3.9.18
Virtuemart 3.4.x
Olympiantheme Hera (customized)

AH

  • Global Moderator
  • Sr. Member
  • *
  • Posts: 3230
  • VirtueMart Version: 3.8.4
Re: Thumbnails rotated
« Reply #6 on: June 25, 2020, 00:54:38 am »
Quote
well that is a bit of a daft answer!

My suggestion is completely valid and I am shocked that you think it has no validity for your problem-

Do what I suggested first - post an image from your pc and see if there is still an issue.  Rule out the device.  Because you will not be the only person posting from a phone!

Then, if that is still an issue -
Take an image with your phone
Get it to a PC to see how it looks
In addition - get the uploaded image (after upload) from the website and compare
Do the same for the auto thumbnail

regards
A

Joomla 3.9.19
php 7.3