Source of the thumbnail

Hello,

I'm trying to change the source of the thumbnail here https://i.imgur.com/He36W9E.png with the custom field that already has been made.

Any chance to change the source thumbnail there?

Thanks for any suggestions,

Harry.

Comments

  • Hello seth,

    Any suggestions here?

    Regards,

    Harry

  • Hi Harry, Can you explain what you mean by change it with the custom field you've set up?

    If you go into your media representation record, you can edit the files here (if the UI has the right bundle in it).

    Otherwise the media_processing.conf determines how it processes your media reps and what derivatives to create.

  • Hi monica,

    Thanks for the reply,

    Yes, the goal was to change this thumbnail source https://imgur.com/He36W9E using "Metadata Elements" that I already created here https://i.imgur.com/rnIJZnS.png , Is that possible in collective access?


    Regards,

    Harry

  • No, I don't think this is possible, I've never come across it.

    You can edit the thumbnail from within the object representation editor if you have the media bundle added to the UI. You can select any of the derivatives and replace the file it's using.

    I would only do this however if you can't automatically create the thumbnail you need through media_processing.conf directives.

  • Hi monica,

    Thanks for the suggestion.

    What do you mean by "the object representation editor" ? do you mean the user interfaces? and where object representation editor located in the menu? Do you have any idea what location file for this thumbnail?

    Regards,

    Harry

  • Object representations are usually only accessible through objects. Go to where you've added yours in the object record (maybe on a screen called media, bundle called media representations), on the media you want to edit, click on "full record" and this takes you to the object representation editors (UI) with all the fields that are in the object representation User interface.

    Edit the user interface in the normal way to add intrinsic (or metadata element) fields you want.

  • Hi monica,

    Thanks for the suggestion.

    I want to clarify, we can't change the thumbnail source here https://imgur.com/He36W9E to using "Metadata Elements" here right? https://i.imgur.com/rnIJZnS.png

    Can I update the php file so the source of the thumbnail get from "Metadata Elements" instead of Object representations ?

    Regards,

    Harry

  • I am 99% sure this can't be done. Why do you want a completely different thumbnail than the media representation?

  • Hi monica,

    Thanks for the reply.

    Can I change the source code php to pull out from "Metadata Elements" instead of Object representations ?

    Yes right now I integrating the collective access backend within the wordpress site, if using media representation a bit hard to get the full width of the image version.

    Regards,

    Harry

  • CA processes the media representation into derivatives and these are configured in media_processing.conf. If you want the thumbnail to be wider, just tell it to make it wider, or use a different derivative in place of it, such as the small or medium one.

    Read here

    https://manual.collectiveaccess.org/providence/user/configuration/mainConfiguration/media_processing.conf.html

  • Hi monica,

    Thanks for the suggestion, but I'm using API to integrate collective access between WordPress, so I don't think that config is related to this. And already working smoothly right now, I only have to change this source of thumbnail in collective access using the metadata elements that have already been created.

    Do you have any idea where the PHP file thumbnails are located? so I can change/adjust the code?

    Regards,

    Harry

Sign In or Register to comment.