We use cookies to improve your experience. No personal information is gathered and we don't serve ads. Cookies Policy.

ExpressionEngine Logo ExpressionEngine
Features Pricing Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University
Log In or Sign Up
Log In Sign Up
ExpressionEngine Logo
Features Pro new Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University Blog
  • Home
  • Forums

ImgSizer Plugin - what i would like to try with random images

Development and Programming

mrpiano's avatar
mrpiano
85 posts
16 years ago
mrpiano's avatar mrpiano

I have an index page that I’d like to load with random photos from my a custom field in my weblog.

The URL to the photo I would like to load is being called by a custom field, “full” and would link from the main page, where the image would be sized to 290 x 274 and then would link out to the full version.

{exp:weblog:entries weblog="galleries" orderby="random" sort="desc" limit="6"}
<a href="http://{title_permalink=">{exp:imgsizer:size src="{large}" width="290" height="274" alt="Gino Guarnere Sporting Event Photography" class="entry_img"}</a>
{/exp:weblog:entries}

When I use the code above, I get a blank page.

Does the syntax above work in any way? I saw some other threads on this but couldn’t find a resolution, per se. Thank you!

The way I would LIKE the page to look (right now hard coded images) can be seen here.

One of the things I realize is that the photos being called doesn’t necessarily have a Cache folder to write to…would that solve the issue?

Thank you!

GG

       

Reply

Sign In To Reply

ExpressionEngine Home Features Pro Contact Version Support
Learn Docs University Forums
Resources Support Add-Ons Partners Blog
Privacy Terms Trademark Use License

Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.