How to Feature Lensmasters or Lenses in a Cool Gallery!
Ranked #769 in Squidoo Community, #88,521 overall
Borrowing a Trick from Squidoo Monsterboards
As usual, the hacker side of me couldn't help asking, "Hey, how did they do that?!" Seth Godin advises us to Poke the Box
It will only work on Squidoo. But then, you shouldn't be posting lensmaster or lens logos on other sites anyway, since (a) the code for making the gallery is Squidoo's, and (b) the lensmaster and lens photos belong to their respective lensmasters.
A Lensmaster Gallery (with cool rollovers)
Oooh, this is so easy!
It turns out this is incredibly EASY, thanks to a secret hidden CSS "Class."
Code to Make a Lensmaster Gallery
This Looks Great!
<ul class="lenses_lb">
STEP TWO: For each lensmaster, add this, without skipping any lines:
<li style="background-image:url(ImageGoesHere.jpg);"><a href="URLgoesHERE">NAME GOES HERE</a></li>
-- Replace "imagegoeshere.jpg" with the Image Location, found by right-clicking the lensmaster's bio graphic on their bio page. This URL will be very long and end in .jpg.
-- Replace "URLgoesHERE" with the url of the lensmaster's bio page. It will look something like this: http://www.squidoo.com/lensmasters/name
-- Replace "NAME GOES HERE" with the lensmaster's name, for example, "Greekgeek" .
STEP THREE: After you've listed as many lensmasters as you want, end the gallery -- again, don't skip any lines or spaces -- with this:
</ul>
STEP FOUR: If you want to write anything underneath the gallery (in the same text module), add this before starting a new paragraph:
<p style="clear: both;">
That turns off side-by-side layout. Otherwise, the next thing you write will fill in to the right of the gallery above. If you don't have any more text before you start a new module, this step is unnecessary.
TROUBLESHOOTING:
Run your cursor over the icon at left. See how the dark box that comes up isn't covering the whole icon? If you get this effect, check your code for that icon and remove any stray carriage returns.
A Featured Lenses Gallery
Same As Above... Almost
- 10 Ideas for Squidoo Lenses
- CSS Codes Quick Reference
- How to Get More Clicks, Sales
- Greekgeek's Squidoo Tutorials
- Free Web Graphics
I've done exactly the same thing as I did for the Featured Lensmasters gallery above, except that in STEP THREE,
(a) I used the URL of the lens, and
(b) I had to adjust the image location (url) of the lens logo graphic to get the 100x100 pixel version, like THIS:
1. Go to the lens.
2. Right-click the lens logo graphic and copy its image location.
You'll get a long URL like this:
http://i2.squidoocdn.com/resize/squidoo_images/-1/lens3235832_1236922507free-web-graphics.jpg
3. Replace -1 with 100
Apparently -1 is Squidoo's filing system for "full sized, default version" and 100 is shorthand for, "100x100 pixels in size".
ALTERNATELY, for step 2, if you're replacing a standard Squidoo Featured Lenses module with a custom one, right-click the image URL in the featured lenses module. You will get an image URL like http://i1.squidoocdn.com/resize_smart/squidoo_images/120/120/lens1894829_logo.jpg
In this case, change 120/120 to 100/100 to get the 100px version of the logo.
A Note of Caution
Any time you use a CSS hack like this, there is a small chance it could stop working if Squidoo changes how it works.
For example, what if Squidoo's programmers rearrange the directories where lens graphics are stored? Then the old URLs might stop working.
Whereas if you use Squidoo's built-in modules (SEE BELOW), you won't have to worry, because the Squidoo programmers update existing modules if they make a change that would impact those modules.
New, Improved Version of "Rollover Lens Gallery"
This Is What I'm Doing Now
The advantage of this over the Featured Lenses Module is that it takes up less space. The disadvantage is that it doesn't include a description, just the lens title.
Rollover Lens Gallery:
- 10 Ideas for Squidoo Lenses
- CSS Codes Quick Reference
- How to Get More Clicks, Sales
- Greekgeek's Squidoo Tutorials
- Free Web Graphics
HTML TEMPLATE for "Rollover Lens Gallery":
Start a new paragraph with:
<ul class="lenses_lb">
Do this up to five times, one per lens, to create the row of lens graphics:
<li style="background-image:url(ImageGoesHere.jpg);"><a href="URLgoesHERE">ROLLOVER TEXT</a></li>
-- Replace "imagegoeshere.jpg" with the Image Location, found by right-clicking the lens logo graphic and changing the -1 in the URL to 100.
-- Replace "URLgoesHERE" with the url of the lens.
-- Replace "ROLLOVER TEXT" with the words you want to appear when the cursor rolls over the graphic, usually the lens title.
Once you're done making your row of lens graphics -- no more than five -- start a new paragraph:
<p style="clear: both; text-align: center; width: 100px; margin: 5px; float: left; font-size: 9pt; font-weight: bold;"><a href="URLgoesHERE">Lens Name Here</a>
-- This places the clickable text caption under the lens graphic. ONLY use the above code for the first caption in the row; it's got a "clear: both;" which starts it on a new line. For the other four captions in the row, use this template, without hitting return between them:
<p style="text-align: center; width: 100px; margin: 5px; float: left; font-size: 9pt; font-weight: bold;"><a href="URLgoesHERE">Lens Name Here</a>
Once you're finished the row of captions, start a new paragraph:
<p style="clear: both;">
Featured Lenses Module
Found under "Popular" modules in the Lens Workshop sidebar
Featured Lenses Module:
Feature a rotating, random selection of 1-5 lenses from a list of lenses you've entered into the module, OR choose to "display all" of the lenses you've listed for inclusion:
The "My Lenses" Module
Found by choosing "Browse all modules" in the sidebar and searching for "my lenses"
The "My Lenses" module lets you tell Squidoo to show a selection of your lenses based on one or more criteria:
-- Topic (e.g. "Arts & Design")
-- Squidoo tag (the tags you add in the sidebar... so you could create a special tag for all the lenses you wanted to feature, adding that tag to each lens by editing it)
-- Sort by Lensrank, creation date, latest updated, or alphabetically
-- Show 5, 10, 15, 20, or 25
For example, here's my lenses filtered by "Any" topic, 5, "Recently Created":
The "Featured Lensmasters" Module
Found by choosing "Browse All Modules" in the workshop sidebar, then searching for "Featured Lensmasters"
This is a basic old module from the dawn of Squidoo. It will only show 1-5 lensmasters; if you add more lensmaster names to the module, it will select 1-5 (however much you specified) at random from your longer list.Guestbook
Thanks For Stopping By
Shameless Plug Widget I hope you've found this tutorial useful. Feel free to drop a note! If it was really useful, please click the magic widget (here's how I made the Shameless Plug Widget)! Tweet it!
Share It!
Mail it!
Favorite it!
-
Reply
-
intermarks
Feb 13, 2012 @ 2:39 am | delete
- This is really awesome and very useful code for our lens. Thank you for sharing such a great information!
-
-
Reply
-
ImpartialGreg
Feb 1, 2012 @ 6:49 am | delete
- Thanks for the tips!!!
-
-
Reply
-
fullofshoes
Jan 21, 2012 @ 1:08 pm | delete
- ahhhh!! I've been looking for this type solution, THANK YOU!
-
-
Reply
-
WordCustard
Nov 24, 2011 @ 4:27 am | delete
- You are a Squidoo hero! Thank you so much. Angel blessed.
-
- Load More
by Greekgeek
Explore related pages
- Squidoo Lens Traffic Squidoo Lens Traffic
- Squidoo Lists Resources and Tools Squidoo Lists Resources and Tools
- RSS: Fast Easy Way To Make A Squidoo Lensography RSS: Fast Easy Way To Make A Squidoo Lensography
- Squidoo Lens Case Study Squidoo Lens Case Study
- Squidoo Squidoo - Squidisms For You Squidoo Squidoo - Squidisms For You
- Ten newest Squidoo lenses by AJ Ten newest Squidoo lenses by AJ