Question regarding custom plugin
-
Hi,
I have someone develop a custom plugin for a friend of mine. Its basically a mini-gallery for each post where you can add images from the media library to the mini-gallery via custom fields.
Anyway, the point is that if I add an image to the mini-gallery, it always duplicates that image in the media library. So let’s say I have 10 images in the media library and I add four pictures to the mini-gallery, then I suddenly have 14 pictures in the media library.
This seems quite odd to me so I asked the developer why that is. He then said:
Each media can have only one post. Thats why if adding one image to post, the images in media also increase. This is the way WordPress works.
Is that correct? I mean if I add an image to a post my media library has never been increasing so it sounds kind of weird to me.
Hope someone can help me with that!
Thanks a lot!
do77
- The topic ‘Question regarding custom plugin’ is closed to new replies.