templatemonster / power-builder-upd

Other
2 stars 6 forks source link

Image size selection #9

Open cmp-202 opened 6 years ago

cmp-202 commented 6 years ago

I hope this is the right place to post this. Context: Wordpress handles images by generating copies at default sizes and custom sizes defined by the theme when the orriginal image is uploaded. When using the default editor and inserting an image you get a dropdown list of available sizes for the image you selected in the bottom right corner of the media library view under Attachment Display Settings. The href to the image you inserted points to the file with the dimensions you selected appended to the orriginal name.
Example of the above page

Issue: In a Power Builder image module when setting the url by selecting an image from the media library view there is no options for selecting one of the wordpress generated sizes for that image. The resulting url you get is for the main image file and nothing else. That means all the wordpress generated images are unavilable to the image module out of the box.

Request: Is it possible to implement the wordpress size options into the image module url selection screen of the media library so we can access those already generated images. Definitly a waste of space uploading multiple images of diffent sizes all of which wordpress generates size variations of anyway. The detail is there but it needs to be exposed in the module. Thanks,

Andrew