Your issue is mostly with learning Django. For example the
get_IMAGEFIELD_url is a feature of Django. More Python will help but
I'd say you'd be better off figuring out more about Django first.
Also, don't be afraid to search around in the Django code.
Tim
On Oct 24, 11:18 am, Page <[EMAIL PROT
Great. That works for bringing in the thumbnail. To display the larger
image would I need to add a field similar to "item_thumb" in the
PortfolioItem model? Or can I display the "image" field from my
PortfolioImage model somehow?
For the future can you point me to what I need to learn to be able
You want something like this:
{% block image %} {% endblock %}
-Gul
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubs
Thanks for the feedback. Tim, I tried that but no luck. Here are my
models:
from django.db import models
class PortfolioImage(models.Model):
image = models.ImageField(upload_to="portfolio", core=True)
alt_attribute = models.CharField(maxlength=100)
def __str__(self):
Try
Tim
On Oct 24, 9:37 am, Steve Potter <[EMAIL PROTECTED]> wrote:
> On Oct 24, 1:35 am, Page <[EMAIL PROTECTED]> wrote:
>
>
>
> > I'm new to Django and Python but trying to catch on. I have an image
> > model for a portfolio page. I also have a model for the portfolio
> > information for th
On Oct 24, 1:35 am, Page <[EMAIL PROTECTED]> wrote:
> I'm new to Django and Python but trying to catch on. I have an image
> model for a portfolio page. I also have a model for the portfolio
> information for that page.
>
> After creating a template for the portfolio item detail page I can
> pul
6 matches
Mail list logo