|
#1
|
||||
|
||||
|
Format Problem + Template Tag Link Question
hi all o/
I'm using the simple template slightly modified. I've got two issues I was hoping I can get help with. They both relate to the image navigation code. My php/css skill level is beginner. 1. Format problem Please note the next image tag link @ http://ktnxbi.com/index.php?showimage=7 with Firefox. It started doing that when I inserted the following code in the css: PHP Code:
The image php code PHP Code:
2.Template Tag Link I've tried a variety of things to get the <IMAGE_PREVIOUS_LINK> tags to show as clickable images, much like a button. For some reason I couldn't get it to work. Any suggestions? 3. Internet Explorer [fixed] Seem to be having issues with IE7 as well. The template switch images at the top of the page are not showing up on my live site using IE7. They do show up with Firefox and they do show up on my dev site. The code is the same. Cache cleared. I even reset IE7 to default specs and it's still playing up. Not sure if anyone can help me with this one but I thought I'd mention it. I'll have a play around and see if I can sort this one out. If there is something obvious that you've been through with IE7 please do let me know. This problem is highly likely to do with my cheap hacking code work. All I did was add the template switchers like so: PHP Code:
![]() [edit] Fixed problem 3. Was missing a > after return false;" Last edited by two40; 01-19-2008 at 05:04 AM. |
|
#2
|
||||
|
||||
|
Moved to design.
__________________
My photoblog, powered by PixelPost 1.9 dev SVN | My Pixelpost Addons | My Cool Photoblog profile
|
|
#3
|
||||
|
||||
|
Item 1: Format problem
There is no float:center, it's either :left or :right. To center the fullsize link, change the css code for the fullsize link to read as follows: .image-fullsize { float: left; } Change the html code in the image_template file to read as follows: <span class="image-fullsize" style="text-align: center;"><FULLSIZE_LINK></span> Item 2. Template Tag Link To have an image display instead of a text link, you will need to modify the PP core file where the html for that tag is built and change the code there. Just keep in mind that every time you upgrade to a new version, or if you would change themes and not want it as an image anymore, you will have to edit that core file again.
__________________
My photoblog: KP Images |
|
#4
|
||||
|
||||
|
Thank you very much for your help.
I've tried your suggestion for #1 but it doesn't work unfortunately. It leaves the text left aligned. As for #2, it might not be worth the hassle so I'll leave that alone for now. Thanks
|
|
#5
|
||||
|
||||
|
That should have worked, but since it didn't, try this:
Change the width in #image-navigate from 50% to 600px. Add margin-left: 200px; to .image-fullsize. By setting the width of #image-navigate from a relative size (%) to a fixed size (px), you will avoid having the full-size link shift around on different screen resolutions. Let me know if this worked.
__________________
My photoblog: KP Images |
|
#6
|
||||
|
||||
|
It didn't work but I do like the fixed width
![]() I think I'll just resort to placing the link in the image info box after the post date. It looks clean there anyway. Thanks for your help. |
| Post Reply |
| Thread Tools | |
|
|