Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Replace your boring place-holder images with beautiful public domain images of history's greatest artwork and sculptures.
Ruby
Tree: 412c74cb37

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
.bundle
.idea
autotest
generators/sex_it_up
lib
spec
.document
.gitignore
Gemfile
Gemfile.lock
LICENSE
README.rdoc
Rakefile
VERSION
sex_it_up.gemspec

README.rdoc

Description

Turn your boring “Lorem ipsum” website and placeholder images into a beautiful display of artwork.

View Helper

# Searches wikimedia for passed in term. Caches all initial results. # As you search through results, image files will generally follow the form e.g. “File:<image name>.jpg - Wikimedia Commons” # Retains the original image and will generate scaled versions based on coordinates passed in # Allow for an optional watermark that defaults to the text “Placeholder” sexy_image('dogs', :width => 100, :height => 100)

Model

# If you want to replace your boring user place holder image, you can do the following user.icon = SexItUp.sexy_image(['flowers','stars','butterflies'], :width => 75, :height => 75)

Rake Task

# The inital caching of images for a given term may be slow (hence causing your initial page view to be slow), so you can “pre-warm” the image # cache for a given search term by using the following rake task. rake sex_it_up:cache butterflies

# Show Lovdbyless or some other social site with a before (with boring placeholders) and after (with exciting images) # Show a screenshot of a sample site with the Lorem text and placeholder images

Copyright

Copyright © 2010 Jim Jones. See LICENSE for details.

Something went wrong with that request. Please try again.