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.

 
You must be logged in to post Login Register


Register? | Lost Your Password?

Search Forums:


 






Minimum search word length is 3 characters – Maximum search word length is 84 characters
Wildcard Usage:
*  matches any number of characters    %  matches exactly one character

Clickable area on image is too small

fixed
UserPost

7:32 pm
February 21, 2010


JFG

Guest

1

Hi,

This is a great plugin, thank you for making it.

I have installed version 3.2.2 running on Atahualpa 3.4.6 and Wordpress 2.9.2 and I have a problem : the clickable area on the images (which loads related posts) is too small. It seems the clickable area related to the arrows on each side of the image take up as much as 1/4 of the image each even though they are much smaller than that. The result is if I click anywhere but in the center of the image, it acts as if I had clicked on one of the arrows to display the next/previous post in the gallery.

Anyone else experiencing this? I didn't see an option in the settings that lets me define the clickable area….

Thanks for any input!

JFG

10:02 pm
February 21, 2010


Ade

Admin

posts 2384

2

Hi,

It is possible to adjust this by editing the plugin's CSS (you're correct, there isn't an option to do thsi via the plugin's Settings page).

Please post your URL and I'll take a look.

Dynamic Content Gallery: Have you read the Configuration Guide and FAQ?

12:45 am
February 23, 2010


JFG

Guest

3

Hi Ade,

I would rather learn how to change it myself since I will probably end up using the plugin on more than one site. Perhaps if you could tell me in which of the plugin files I need to make a change and what to look out for in that file then I'll be able to modify it. Thank you very much for your help!

JFG

1:54 am
February 23, 2010


Ade

Admin

posts 2384

4

Hi,

I think you misunderstood me. I wanted your URL so that I could work out how to do it, then tell you. Smile

Dynamic Content Gallery: Have you read the Configuration Guide and FAQ?

4:50 pm
February 26, 2010


JFG

Guest

5

Ah! I did misunderstand you :)

Well it's up on a site in construction : http://www.projetenvie.com

and this brings up another problem. Now, without having changed anything, it is saying :

Fatal error: Call to undefined function dynamic_content_gallery() in /home/dreamin5/public_html/projetenvie/wp-content/plugins/php-code-widget/execphp.php(44) : eval()'d code on line 1

How is it possible that one day the plugin is working, I leave it there for a few days, come back and it's not working anymore??

5:48 pm
February 26, 2010


Ade

Admin

posts 2384

6

Hi,

How is it possible that one day the plugin is working, I leave it there for a few days, come back and it's not working anymore??

Theoretically, impossible of course…. Smile

Seriously though, are you sure you haven't updated/moved anything? Looking at your Page Source, I can't see the DCG's scripts being loaded. That suggests that the plugin has been deactivated. Check your Dashboard>Plugins screen.

Dynamic Content Gallery: Have you read the Configuration Guide and FAQ?

11:21 am
February 27, 2010


JFG

Guest

7

Well, the plugin was deactivated. Too bad I didn't catch that and avoid looking stupid! Embarassed Anyways, back to the original clickable area problem! And thank you for your help.

4:55 pm
February 27, 2010


Ade

Admin

posts 2384

8

No problem – glad we got that one sorted out. Smile

On to the clickable area issue…

Open up /dynamic-content-gallery-plugin/js-mootools/css/jd.gallery.css and look for .jdGallery a.right, .jdGallery a.left. You can reduce the width property from the existing 25%. Don't go below 10% otherwsie you will have issues with the arrows.

Dynamic Content Gallery: Have you read the Configuration Guide and FAQ?

8:06 pm
February 27, 2010


JFG

Guest

9

Many thanks!

For it to work I had to change a few more things than what you suggested. For others who would like to do the same thing :

Do as Ade suggested : Open up /dynamic-content-gallery-plugin/js-mootools/css/jd.gallery.css and look for .jdGallery a.right, .jdGallery a.left. You can reduce the width property from the existing 25%. Don't go below 10% otherwsie you will have issues with the arrows.

This will reduce the clickable area related to the images but it won't actually augment the one related to the link to the post. For this you need to also change :

in the same file,

.withArrows a.open

left: 10%;

width: 80%;

Many thanks to Ade for your support!

JFG

10:01 pm
February 27, 2010


Ade

Admin

posts 2384

10

You're welcome. Smile

You're quite right – I forgot to mention expanding the area of the post link. Glad it's sorted.

Dynamic Content Gallery: Have you read the Configuration Guide and FAQ?