Hybrid Thumb

Post Reply
tubeman
Posts: 534
Joined: Sat Mar 02, 2013 11:33 am

Hybrid Thumb

Post by tubeman »

Hi,
1.) In Thumbnail Crop profile what is Hybrid Thumb?
2.) Also is there a way to have different size thumbs for mobile and desktop version?
3.) If thumbail is not getting compressed properly after its cropped and resized what do I check on server?

Regards,
admin
Site Admin
Posts: 37249
Joined: Wed Sep 10, 2008 11:43 am

Re: Hybrid Thumb

Post by admin »

Hello,

1. If you create things from a gallery work vertical and horizontal images, so you might want 2 settings for thumbs: vertical and horizontal

2. Yes, you can create extra thumb (check out rotation - import settings) and then use extra_thumb_url

3. Show there grabber log plz
Don't forget to run script update
tubeman
Posts: 534
Joined: Sat Mar 02, 2013 11:33 am

Re: Hybrid Thumb

Post by tubeman »

Hi,
Thanks.For

2.) So when I am outputting thumbs on template how will script know to use extra_thumb_url for mobile devices?

3.) Here are a few lines from logs:

2020-02-06 21:48:10: Source Size: 5557 (188.31086111069, 0.00017499923706055)
2020-02-06 21:48:10: Dupe check (188.31095504761, 9.1075897216797E-5)
2020-02-06 21:48:10: Source Size 5557 (188.31143903732, 0.00048089027404785)
2020-02-06 21:48:10: Make thumb ../tmp/9137/tmp//579290.jpg -> ../tmp/9137/tmp//46124.jpg (188.31157493591, 0.00013279914855957)
2020-02-06 21:48:10: Creating thumb ../tmp/9137/tmp//46124.jpg.tmp.jpg -> ../tmp/9137/tmp//46124.jpg (188.31178498268, 0.00020885467529297)
2020-02-06 21:48:10: Identify /usr/bin/identify -verbose ../tmp/9137/tmp//46124.jpg.tmp.jpg (188.31188392639, 9.5129013061523E-5)
2020-02-06 21:48:10: Size: 180x135 (../tmp/9137/tmp//46124.jpg.tmp.jpg) thumb: 305x215
thumb_ratio: 1.4186046511628 img_ratio: 1.3333333333333 to ../tmp/9137/tmp//46124.jpg (188.36321496964, 0.051331043243408)
2020-02-06 21:48:10: Cut image (188.36346101761, 0.00023794174194336)
2020-02-06 21:48:10: CMD: /usr/bin/convert -crop +0+4 +repage -crop -0-4 +repage -resize 305x215^ -gravity Center -crop 305x215+0+0 -quality 85 -filter Lanczos ../tmp/9137/tmp//46124.jpg.tmp.jpg ../tmp/9137/tmp//46124.jpg (188.36358809471, 0.00012493133544922)
2020-02-06 21:48:11: Thumb created, file size 31252 (188.74692106247, 0.3833429813385)
2020-02-06 21:48:11: Identify /usr/bin/identify -verbose ../tmp/9137/tmp//46124.jpg (188.7471818924, 0.00024294853210449)
2020-02-06 21:48:11: Detect img size for ../tmp/9137/tmp//46124.jpg (305 x 215) (188.79996395111, 0.052792072296143)
2020-02-06 21:48:11: Saving thumb (17505): title:, desc:() (188.80208492279, 0.0021049976348877)

Any idea what could be wrong?
Post Reply