Does anyone have any ideas, no matter how outlandish, i'm pretty stuck
on this one

On Aug 13, 3:42 pm, Robocop <[email protected]> wrote:
> I don't see any 404 errors, and unfortunately i'm fairly certain the
> static folder is served up properly as when i remove the thumbnail
> tags or filters, the raw unsized images are shown.  I've also verified
> my sorl and nesh installs are working as i'm able to use them on a
> separate project on the same machine.  I'm still stuck :/
>
> On Aug 10, 5:00 pm, Chris Moffitt <[email protected]> wrote:
>
> > You should see some 404 error messages in your web server log. I am guessing
> > that you're not serving the static media correctly.
>
> > -Chris
>
> > On Mon, Aug 10, 2009 at 5:57 PM,Robocop<[email protected]> wrote:
>
> > > Still seeing the same problem.  My new syntax looks like:
> > >           {% if product.main_image %}
> > >              <center>
> > >                          <h1>{{product.main_image.picture}}</h2>
> > >              {% thumbnail product.main_image.picture 150x200 as image
> > > %}
> > >              <a href="{{ product.get_absolute_url }}"><img
> > > src="{{ image }}" width="{{ image.width }}"
> > > height="{{ image.height }}" /></a>
> > >               </center>
> > >           {% endif %}
>
> > > Still stuck :/  The {{product.main_image.picture}} variable spits out
> > > the proper path to the picture, so the object is definitely there.
> > > Any more thoughts?
>
> > > On Aug 10, 12:56 pm, Chris Moffitt <[email protected]> wrote:
> > > > You're close. Don't use Nesh, use Sorl.
>
> > > > Take a look at this template for an example -
> > >http://bitbucket.org/chris1610/satchmo/src/tip/satchmo/apps/satchmo_s...
>
> > > > You need something like this-
>
> > > > {% load thumbnail %}
> > > > {% thumbnail product.main_image.picture 85x85 as image %}
> > > >               <a href="{{ product.get_absolute_url }}"><img src="{{
> > > > image }}" width="{{ image.width }}" height="{{ image.height }}" /></a>
>
> > > > -Chris
>
> > > > On Mon, Aug 10, 2009 at 2:08 PM,Robocop<[email protected]>
> > > wrote:
>
> > > > > Hello,
> > > > > I've so far tried using the nesh thumbnail filter, and the sorl
> > > > > thumbnail tag, and have failed miserably with both.  In the case of
> > > > > the nesh thumbnails, when i load the filter as recommended in the docs
> > > > > (http://code.google.com/p/django-utils/wiki/Thumbnail) with:
>
> > > > > {% load nesh.thumbnail %}
>
> > > > > I receive a "no valid template tag library" error, even though the app
> > > > > is loaded in my settings.py
>
> > > > > When i try doing things with sorl, i look to have generated thumbnails
> > > > > in my image directory, however the images are never rendered on the
> > > > > page.  Using pdb i can step line by line through the code, and
> > > > > everything "appears" to be working, but still the images are not
> > > > > rendered on the page.
>
> > > > > My syntax using sorl looks as:
>
> > > > >              <img src={% thumbnail product.main_image.picture 150x200
> > > > > detail %} />
>
> > > > > Could anyone offer any insight?  Or better yet, show me an example of
> > > > > the most basic syntax to display a thumbnail of a product image?
> > > > > Thanks!
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Satchmo users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/satchmo-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to