Is it possible to use the WPG2 Image chooser to insert a proportionally resized image into a blog post and have the image linked to the respective image's gallery page?
Like say I have an image in my gallery that I want inserted, but its size is 1024x768 (or vice versa), and I wanted it inserted at a max size of 320 and linked to the image's page in my gallery. Is this a possibility?
Currently I am using a few div lines that I just copy and paste after I have adjusted the links. I then place a thumbnail with a max res of 320 into a directory on my server and point the links in the inserted code to the image and the gallery respectively. I would like to find an easier way than doing this, as it takes a bit longer to complete.
Posts: 1378
Hiya BGraceTFaith,
It certainly is, just specify the Image Size you are looking for and the WPG2 will automatically find the closest (larger) resized image to that size.. You will see the WPG2 Tag has been set like ID|SIZE <wpg2>322|300</wpg2>
More info in the help
____________________________________
Wordpress / Gallery2 (WPG2) Plugin, , WPG2 Documentation, WPG2 Demo
Posts: 13
But will it resize it to a size that is not already existent in Gallery? Using say, ImageMagick?
Posts: 13
Okay, I see what you are saying. It does what I want, but now I have another problem.
What I want is this:
http://www.bgracetfaith.com/misc/rightway.jpg
What I have is this:
http://www.bgracetfaith.com/misc/wrongway.jpg
What class do I need to add to my WP stylesheet to get it to apply the border, padding, and alignment that I use in the current snippet?
Here is the snippet I use:
<div class="postie-image-div"><a href="PAGELINK"><img src="IMAGELINK" alt="Click Here!" style="display: block; padding-right: 2px; padding-bottom: 2px; margin-left: auto; margin-right: auto;" class="blog-image" /></a></div>
Although the border information isn't in that snippet, it seems to pick it up from another class in my stylesheet. At any rate, how do I add a class which the G2Image insert will adhere to? What would the class be?
I hope I am making sense.
Posts: 1378
In the WP Dashboard -> WPG2 -> G2 Image tab you will see an option called Custom Classes. Add the class you are looking for and SAVE the Settings. When the settings are saved, click on the Default Image Class drop down and select your new class as the default.
Add the class elements for your new class in your Wordpress Theme CSS Stylesheet.
____________________________________
Wordpress / Gallery2 (WPG2) Plugin, , WPG2 Documentation, WPG2 Demo