Skip Navigation

[Resolved] choose the scaled version from the media lib

This support ticket is created 6 years, 8 months ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 -
- 13:00 – 18:00 13:00 – 18:00 13:00 – 18:00 14:00 – 18:00 13:00 – 18:00 -

Supporter timezone: America/Jamaica (GMT-05:00)

This topic contains 7 replies, has 2 voices.

Last updated by Shane 6 years, 8 months ago.

Assisted by: Shane.

Author
Posts
#806260

hey, I want to use types for the wordpress CMS backend of an showroom installation. I have a problem to choose a scaled image from the media library, I can only choose the original uploaded image! is there a way to choose the scaled image or to show the scaled image in the lib.

#806855

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hello,

Thank you for contacting our support forum.

Actually yes there is. You can use the size attribute to do this.

You can have a look at the link below to see whats possible with our Types image field.

https://toolset.com/documentation/customizing-sites-using-php/functions/#image
Thanks,
Shane

#810730

I can only use the scaled images when using the tiny editor and add media button, There I can choose my image in the pulldown. why can't I choose the image size in the pulldown when using the types media, file or whatever type?

Or is there a hint to show all images in media lib?

#811932

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hello,

That is because the field is an upload field. To the image at the various scaled sizes you will need to use the shortcode attribute for our Types shortcode as per the examples in the link below.
https://toolset.com/documentation/customizing-sites-using-php/functions/#image

Thanks,
Shane

#812482

I have no html frontend! Is there another field type to use a image?

#812630

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hello,

Not sure what you mean by not having an HTML frontend but no this is the only field we have for uploading images.

Unless you want to use a WYSIWYG field and then use the media gallery to insert the image into that WYSIWYG field.

Thanks,
Shane

#812996

ok, I have a c++ opengl app in openframrworks. I only load the json from the CMS an load the files. WordPress only for backend. I didn't need to upload files, the files could uploaded direct to the Media Library. I am searching a way to choose the scaled versions from the uploaded file and put the path into the custom-field.

#813158

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hello,

Unfortunately i'm not able to assist with this one as it seems to be something that would need to go directly from the wordpress API itself.

Thanks,
Shane