How to skip an image in image.php

This is my first post so "Hi!"

I am developing a theme and creating a customised album layout by inserting blank images! see this page: http://www.aloadofstuff.co.uk/zendev/recent-work/

What I can't figure out how to do is be able to skip the blank image in image.php based upon the image title. I need to make the prev next links point to the next image without the word 'blank' in the title in order to skip it completely but I cannot find the functions to to do this.

Any ideas?

Thanks

Bryan

Comments

  • acrylian Administrator, Developer
    Well, you can't figure it out because it is not possible. Images you upload are images in that album. There is no way of skipping except you want to re-write the existing functions.

    Actually using blank images for layout reasons is a bad idea from the 90s (transparent gif placements anyone?). If you really really need to do that you should do it in the theme but not with the actual content. But I think it is overly complicated as this layout will change anytime you add images. Let it flow like the browser does it..
  • Thank you for the quick response.

    [blockquote]Well, you can't figure it out because it is not possible. Images you upload are images in that album. There is no way of skipping except you want to re-write the existing functions.[/blockquote]

    That's a shame.

    [blockquote]Actually using blank images for layout reasons is a bad idea from the 90s and if you really really need to do that you should do it in the theme but not with the actual content.[/blockquote]

    I realise that, I'm just playing with ideas. Short of creating a whole image framework with image positioning I couldn't think of how else to achive the desired effect of being able to space my images.

    [talking out loud] I suppose I could add some custom data to an image to tell it to change the margin for that image.. yeah, that would work. Thanks for helping me figure it out :)
  • acrylian Administrator, Developer
    Using custom data or tags would probably the right way. (btw, use normal html tags in posts)
Sign In or Register to comment.