I'm feeling dumb....I don't understand the instructions at /admin/settings/pngfix
I don't know what to enter to make this work. I tried just simply putting in ".pngfix" but it didn't do anything.
I've attached a screenshot here of the source code surrounding one of my images I am hoping this will fix.
The site I'm using it on that has this issue is at http://www.vibecomputing.com/
| Comment | File | Size | Author |
|---|---|---|---|
| Picture 1.png | 25.75 KB | mdowsett |
Comments
Comment #1
minus commentedtry to set the div that holds the block in the png-fix configuration, if the block that contains the png is within the left-sidebar, then put #left-sidebar (or what you have called it) in the png-configuration, remember the #
Comment #2
mdowsett commentedthx
so I added:
#user1, #user2, #user3, #header
Which are the different blocks I have PNGs in and it didn't help....was that the right thing to do?
Comment #3
neoliminal commentedYour container is the 'a' tag. Add to your 'a' tag class 'pngfix' like so:
Then put .pngfix in the field.
Comment #4
mdowsett commentedOK...I am following.
But I used Image Assist to add those logos into a block. the code img_assist generates is:
How would you add the class="pngfix" to it?
Comment #5
mdowsett commentedand/or should there be a fix so that all img_assist code snippets support this pngfix module
Comment #6
mdowsett commented...and what about my site logo...I certainly can't insert a
tag for that...so how would I adjust the code (I assume in my theme?) to get the pngfix module to fix that up?
Many thanks for your help
Comment #7
neoliminal commentedRemember, the fix requires the parent to have the id or class to be entered, not the image tag itself. So in the case of Image Assist you need to put the id or class of the resulting displayed container. (The div the content will be displayed in... perhaps .content?... check the page where the image is displayed using firebug for the parent container.)
Do you have a page I can view? Perhaps I can view it for the parent container.