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

Image resizing or help needed…

unresolved
UserPost

3:32 pm
September 4, 2010


Jwrbloom

Guest

1

WP 3.0
http://hoosierhoopsreport.com

Most of the images I use are head shots of basketball players. That will change this year, but in the meantime, using the head shots they get really stretched out in the gallery. It appears they enlarged thumbnails, and I'd like them to just be the image I put in there.

9:27 am
September 5, 2010


Ade

Admin

posts 2384

2

Hi,

Sorry, I don't really understand what your question is. The DCG doesn't do any image resizing. So, if the image doesn't look right, then you will have to create a suitable image in a photo editing programme (or even Wordpress built-in image editing capabilities for cropping, resizing etc).

By all means, if I've missed teh point of your question please explain further…

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

6:56 am
September 6, 2010


Jwrbloom

Guest

3

Let me ask this then: Where can I change the img settings? I'd like to control max-heigh and max-width instead of height and width.

6:48 pm
September 6, 2010


Ade

Admin

posts 2384

4

Post edited 6:49 pm – September 6, 2010 by Ade


In the CSS. You could try adding suitable CSS rules to your style.css. You will probably have to use !important to ensure that the plugin's CSS doesn't override your custom CSS. Does that make sense?

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

8:50 pm
September 6, 2010


Jwrbloom

Guest

5

It kind of makes sense. I've never use !important, so I'll do some searching. However, are you saying though to use my theme's style.css instead of a CSS from the plugin? I guess so, since I haven't really been able to locate much of a CSS for the plugin, beyond what is provided in the options panel.

I need to Firebug this thing and create my own styles for the img classes? Laugh

8:54 pm
September 6, 2010


Ade

Admin

posts 2384

6

Yes, exactly. If you modify the plugin's files, you will lose the changes next time you upgrade the plugin. By adding the custom CSS to style.css, your changes will be preserved.

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

9:14 pm
September 6, 2010


Jwrbloom

Guest

7

I'll give it a shot. Thanks.

7:30 am
September 7, 2010


Jwrbloom

Guest

8

I'm trying .slideElement img, but it's not affecting the size of the image. Any help on what class I need to create/change to control the size of my images?

9:21 pm
September 7, 2010


Ade

Admin

posts 2384

9

Post edited 9:21 pm – September 7, 2010 by Ade


Target .jdGallery .slideElement, eg like this:

.jdGallery .slideElement {
height: x% !important;
width: x% !important;
}

Obviously, replace x with the actual percentage you want to use.

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

10:10 pm
September 7, 2010


Jwrbloom

Guest

10

All that really did was shrink some sort of window showing the image, moving it up to upper left hand corner. I started out, just to test, 98px for max-height and max-width, and all it showed was their mouths, positioned in the upper left hand corner.

8:17 am
September 13, 2010


Ade

Admin

posts 2384

11

Did you try what I posted? Use height and width, not max-height, etc.

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

1:43 pm
September 13, 2010


Jwrbloom

Guest

12

Yes, I did.