Marc Krapalis Posted February 14, 2019 Posted February 14, 2019 Hey there ... I searched about an hour now and tried different things but I can't fetch the thumbnail of a single uploaded image in a pages database custom field. Would be nice to know how to get the created thumbnail.
Marc Krapalis Posted February 14, 2019 Author Posted February 14, 2019 From the record. I get the full image with: src="{$record->customFieldDisplayByKey('news_image_header', 'display')|raw}" But I want to get the path to the created thumbnail.
opentype Posted February 14, 2019 Posted February 14, 2019 $record->customFieldDisplayByKey('news_image_header', 'thumbs')
Marc Krapalis Posted February 14, 2019 Author Posted February 14, 2019 ohhh ... with an "s" at the end ... I already tried "thumb" and "thumbnail" myself but didn't tried "thumbs". Thank you very much. Where can I best find infomations about this? Couldn't find the needed information in a good amount of time inside the help guides or the dev center.
opentype Posted February 14, 2019 Posted February 14, 2019 It’s not documented I think. I got that from a IPS developer a while back.
Marc Krapalis Posted February 14, 2019 Author Posted February 14, 2019 Okay ... Thank you for your replies 🙂
opentype Posted February 15, 2019 Posted February 15, 2019 But don’t try to tell us this was all there all along.
Daniel F Posted February 15, 2019 Posted February 15, 2019 3 minutes ago, opentype said: But don’t try to tell us this was all there all along. No;) Once I saw your post with the missing documentation, I've asked @Marc Stridgen to create one. All props to him:)
Recommended Posts
Archived
This topic is now archived and is closed to further replies.