Marc Krapalis Posted February 14, 2019 Share 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. Link to comment Share on other sites More sharing options...
opentype Posted February 14, 2019 Share Posted February 14, 2019 Fetch from where? Link to comment Share on other sites More sharing options...
Marc Krapalis Posted February 14, 2019 Author Share 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. Link to comment Share on other sites More sharing options...
opentype Posted February 14, 2019 Share Posted February 14, 2019 $record->customFieldDisplayByKey('news_image_header', 'thumbs') Link to comment Share on other sites More sharing options...
Marc Krapalis Posted February 14, 2019 Author Share 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. Link to comment Share on other sites More sharing options...
opentype Posted February 14, 2019 Share Posted February 14, 2019 It’s not documented I think. I got that from a IPS developer a while back. Link to comment Share on other sites More sharing options...
Marc Krapalis Posted February 14, 2019 Author Share Posted February 14, 2019 Okay ... Thank you for your replies 🙂 Link to comment Share on other sites More sharing options...
Daniel F Posted February 15, 2019 Share Posted February 15, 2019 Here we go 🙂 Link to comment Share on other sites More sharing options...
opentype Posted February 15, 2019 Share Posted February 15, 2019 But don’t try to tell us this was all there all along. Link to comment Share on other sites More sharing options...
Daniel F Posted February 15, 2019 Share 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:) Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.