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
DGC loads "ERROR" image instead of expected featured image from post
October 29, 2010
12:20 am
vtowel2
Guest

Hi there,

Just trying to work out some DGC image display issues on a site we're developing. I figured out that a minimum of 2 featured posts is required for the images to show up at all (thanks to a bug in the Mootools JavaScript, I understand).

So now that I have 2 featured posts, at least the featured image from one of the posts is showing up. However, the other post is displaying a special "ERROR" image. Unfortunately, there is no explanation in the HTML source as to what the error is, even though I have "Show Error Messages" enabled for DGC.

I also haven't been able to find information on it in your own docs or in the forums (but I may have no looked hard enough).

Any thoughts, anyone?

Thanks,
Paul

October 29, 2010
12:21 am
vtowel2
Guest

By the way, the website is http://transition.inthekoots.com/

October 29, 2010
3:19 am
vtowel2
Guest

Well, it seems that the problem was because my second post was pulling an existing image from the media library into it, rather than using a freshly uploaded image. As soon as I uploaded a new image into that post, DGC displayed that image in the gallery.

So DGC will only pull the first freshly uploaded image from the post to use as its featured image in the gallery. Is this by design?

Seems odd that I can't just insert a previously uploaded image into my post and get DGC to use that.

Also, I noticed that when I got rid of the newly uploaded image in my post, but left the other images in there, DGC still used the newly uploaded image as the post's featured image in the gallery – even though that image isn't even displayed in that post anymore.

Seems a bit weird to me. Am I the only person who's noticed this?

October 29, 2010
11:15 am
Ade
Admin
Forum Posts: 2490
Member Since:
August 25, 2008
Offline

Hi,

When in Auto image mode, the DCG looks for the first image attachment – not the Featured Image. In some cases, depending on how a user uploads images, the first image attachment and the Featured Image will be the same thing. In other cases, such as yours, they will be different…

I'm actually going to change this behaviour so that the DCG grabs the Featured Image and not the first image attachment. This makes much more sense for most setups. So, it's on my to-do list… Smile

Dynamic Content Gallery: Have you read the Configuration Guide and FAQ?
October 29, 2010
5:22 pm
vtowel2
Guest

Hey there!

That would be excellent – it's exactly what I am looking for. I'm trying to get this bug fixed for tomorrow's deadline when that site goes live, and my boss suggested finding an alternative plugin if we can't figure it out with DCG by then.

I might be able to patch it myself to achieve the goal, but I probably won't do it correctly since I'm not familiar with your code. We'll see, maybe I can figure it out on my own temporarily just so I can make the deadline. I'd rather not have to use a whole other plugin.

Thanks!
Paul

November 1, 2010
4:39 pm
drdusan
Guest

HELP PLEASE
I get the ERROR image instead of expected image !

The posts which was created before installing the DGC work well – the picture displays in DGC, but the posts which was created after DGC installation can't show, I just get the ERROR image.

can somebody help me with this please.

November 1, 2010
8:14 pm
Ade
Admin
Forum Posts: 2490
Member Since:
August 25, 2008
Offline

drdusan said:

HELP PLEASE
I get the ERROR image instead of expected image !

The posts which was created before installing the DGC work well – the picture displays in DGC, but the posts which was created after DGC installation can't show, I just get the ERROR image.

can somebody help me with this please.

You need to give more info – it's impossible for me to even guess what the problem is without:

Your URL
What gallery method are you using?
What Image Management settings are you using?

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

Most Users Ever Online: 28

Currently Online: nloronacele
14 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

johnbroome: 13

sjpeaches: 12

speedyp: 12

CherylMcL: 10

littlemerry: 8

lsnoei: 8

Member Stats:

Guest Posters: 770

Members: 1297

Moderators: 0

Admins: 1

Forum Stats:

Groups: 2

Forums: 7

Topics: 978

Posts: 4293

Newest Members: chargers3, jwhetstone, robert, Mak-Donuts, kilerb, Marian Bamboi

Moderators:

Administrators: Ade (2490)