Forum

Please make sure that you have read the documentation and extensive resources provided on this site before posting your question!

Dynamic Content Gallery Resources

DCG Version 4.0 beta is now available for download and testing. This is a development version and not recommended for live sites. Read more here.

Note that the current stable release of the DCG is version 3.3.5.

Please consider registering
guest

Log In Register

Register | Lost password?
Advanced Search:

— Forum Scope —



— Match —



— Forum Options —




Wildcard usage:
*  matches any number of characters    %  matches exactly one character

Minimum search word length is 3 characters - maximum search word length is 84 characters

Topic RSS
Gallery not updating when images changed
Status: fixed
September 20, 2010
6:46 pm
switchbackjunkie
Guest

Hi,

The plugin works swimmingly except that once it picks up an image from a page, I can't get it to update when I change the image. Is there a cache that needs to be cleared in there somewhere?

Thanks.

September 20, 2010
7:36 pm
Ade
Admin
Forum Posts: 2493
Member Since:
August 25, 2008
Offline

Hi,

Not sure I follow you exactly. Are you using the auto option for adding images to the gallery? If so, the plugin only picks up the first image attached to the post, ie subsequent images attached to the post won't override the first one.

Does that make sense?

Dynamic Content Gallery: Have you read the Configuration Guide and FAQ?
September 20, 2010
10:36 pm
switchbackjunkie
Guest

Hi Ade,

Thanks for the quick response. It does make sense. Multiple images were attached using the ID method, but the "leading" image was subsequently deleted from the page and is still getting picked up. When the page ID's are assigned, does it ignore the DCG metabox URL?

CJ

March 31, 2011
12:15 am
2buy1click
Guest

Ade said:

Hi,

Not sure I follow you exactly. Are you using the auto option for adding images to the gallery? If so, the plugin only picks up the first image attached to the post, ie subsequent images attached to the post won't override the first one.

Does that make sense?


I have the same issue. I added an image to a post. It did not look right in auto mode. So I deleted image and added another one. However it still trying to show the first one I added. How do I delete this first image from DCG picked for a post. I see in the MYSQL database DCG Optoins does not remove or update image is selected for a post when I delete and add a new one. How do I reset this auto selected images in the database and make DCG find the first images in all posts again.

Best regards

Lyndon

April 2, 2011
7:01 am
Ade
Admin
Forum Posts: 2493
Member Since:
August 25, 2008
Offline

Hi Lyndon,

"Auto" works by grabbing the first image attachment in the post. So, you need to unattach the first image, then upload a new image and all should be fine. Alternatively, use the "Full" image menagement option and enter whatever URL you want in the DCG Metabox.

Dynamic Content Gallery: Have you read the Configuration Guide and FAQ?
April 28, 2011
11:01 pm
JP
Guest

Also having this exact same problem, and it's annoying :)

I am using "auto".

1) I create a new post with text, then I set my featured image, then I publish the post. DCG is working properly and looks great…

2) The problem happens if I decide I want a NEW picture: I will edit the post, remove the current featured image, add a NEW featured image, update post. DCG is still showing the OLD/DELETED photo (but Wordpress shows the NEW image).

UPDATE: As a test, I repeated step 1… but in step 2 I ONLY deleted the photo & didn't add a new one. Well, both DCG & Wordpress show the old/deleted photo! So even though there isn't an image associated with that post anymore, it's still messing up.

I like the auto feature, is there a way to RESET/CLEAR the original photo?

UPDATE – FIXED: The solution is to edit the post, next to the "upload/insert" click the "add an image" icon, once the "add an image" window pops up, click on "gallery" tab, and delete the offending image!

To delete it just click on "show", then "delete" at the bottom… problem solved!

April 29, 2011
8:18 am
Ade
Admin
Forum Posts: 2493
Member Since:
August 25, 2008
Offline

Indeed, that's exactly how to deal with this. Thanks for posting!

For other readers: "Auto" grabs the FIRST image attachment. Therefore, if you upload a second image to the post and want to use this as the image in the DCG, you must delete the first attachment. A pain? Yes. However, the next version of the DCG will exclusively use Featured Images, which means that the selected Featured image will appear in the gallery. :-)

Dynamic Content Gallery: Have you read the Configuration Guide and FAQ?
August 4, 2011
7:57 pm
ZeroGravity
Guest

This probably stems from me not fully understanding how DCG and Wordpress work. I was having the same problem and even the solutions here didn't help at first because of the way I was expecting/understanding things to work. This is just a quick explanation to help anyone who has my mindset.

When using the auto method the first image attachment is not the first image you see in the post or page, as I thought. As JP mentioned above it is the first image in the post's/page's gallery. You get to the gallery using the method JP explains in his "UPDATE – FIXED" paragraph above.

The only problem is when you delete the image from the gallery it completely removes it from the media library. Not great when you use the same image on other pages as well. I have seen several posts in the Wordpress codex asking for this to be changed. I did find a plug-in which helped me detach images from a gallery without removing it from the media library. Wordpress Media Library Plug-in.

There is another catch as well. I added a lot of images I am going to use in bulk via the media tab. I then inserted them into posts and pages using the Media Library tab on the Insert/Add pop-up. This doesn't add the image to the gallery and hence it doesn't appear in DCG as I assumed it would.

I am looking forward to the featured image being used. When will that be available (I have 3.3.5 installed)? You mentioned using the featured image exclusively, does that mean the DCG image URL field will go away? I don't know if this is my misunderstanding of how Wordpress works again but it would be nice to be able to set an image the size of the gallery in DCG image and have smaller image in the featured image that Wordpress would use. Am I misunderstanding things again?

I love the plug-in, especially now as I am starting to understand exactly how it works.

Darren

August 9, 2011
5:25 pm
Ade
Admin
Forum Posts: 2493
Member Since:
August 25, 2008
Offline

Thanks for your useful post, Darren. Image handling in WP is not that intuitive and your advice will help others. Smile

Development on v4 (which uses Featured Images) is near completion but keeps being delayed due to irritating things like earning a living… My current deadline is September.

Dynamic Content Gallery: Have you read the Configuration Guide and FAQ?
Forum Timezone: UTC 1

Most Users Ever Online: 28

Currently Online: nloronacele
13 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

johnbroome: 13

speedyp: 12

sjpeaches: 12

CherylMcL: 10

gscorp: 8

lsnoei: 8

Member Stats:

Guest Posters: 770

Members: 1300

Moderators: 0

Admins: 1

Forum Stats:

Groups: 2

Forums: 7

Topics: 980

Posts: 4299

Newest Members: jochris26, eva-aa, Tushar, chargers3, jwhetstone, robert

Moderators:

Administrators: Ade (2493)