Multiple images on Portfolio item

Hi,
when editing an portfolio item there’s a meta-option “Media Type” which provides the option to use multiple images. I used that successfully here: https://dennishunink.nl/playground/kdans/lesaanbod/hip-hop/ .
But the description of the meta-option says ‘simply upload to this item’, which is not what I’m trying to do: I’d like to use several existing images that are already in my WordPress media library.
The only way I found to do this so far is by inserting a WordPress Gallery into the item description. It does work, but now this gallery is shown in the content as well, which is not what I tried to accomplish.
So my question comes down to:
what’s the best/intended way to attach several existing images to a portfolio item, in such a way that the selection is easily editable in the future?

Thanks for any suggestions!

Hi there,

Unfortunately, that feature does not support the addition of the existing images. You will need to add images only via uploading them.

We can add this as a feature request if you are interested in.

Hi Christopher,
that’s rather unconvient. I believe that should definitely be feature incorporated, so yes please do add it as a feature request.
Would it be possible to add such functionality myself, using a child-theme?

Hi There,

Our portfolio gallery works in the same way how WordPress gallery [Gallery] works, i.e., you need to attach the images to the post/portfolio item you are working on and the images will automatically appear in the gallery slider. That means, you need to upload new images instead of selecting existing ones to their respective portfolio item. If you upload images to one portfolio item and select them in another, it won’t work. This process is also defined in WordPress codex: https://codex.wordpress.org/Using_Image_and_File_Attachments

If you want to remove a image from the gallery slider, you’ll need to delete the image from the media library.

Yes, it is always possible to edit existing functionalities. Just note that it is beyond the scope of our support support we can offer. You can start with editing the x_featured_portfolio() and x_featured_gallery() function that can be found here: pro\framework\functions\global\featured.php.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.