PhotoPost Community

PhotoPost Community (http://www.photopost.com/forum/)
-   Classifieds How do I...? (http://www.photopost.com/forum/classifieds-how-do-i/)
-   -   Category Image Not Showing (http://www.photopost.com/forum/classifieds-how-do-i/149106-category-image-not-showing.html)

laidback64 January 7th, 2013 12:03 PM

Category Image Not Showing
 
1 Attachment(s)
When you post an ad with a picture, in some of the categories the picture shows up as a thumbnail and in other it will not. I checked the category sections and they all seem to be set to the same options. I posted a photo below.

Chuck S January 7th, 2013 12:38 PM

As long as the category has not had an ad posted to it meaning there is no thumbnail set as an avatar the ad should become the avatar.

This of course is only pertinent to the actual category an ad is uploaded to not parents.

laidback64 January 7th, 2013 12:53 PM

In the electronics category I posted an ad and no avatar was generated. I used the same photo that I used in another category to post an ad and in that category an avatar was generated. What am I doing wrong?

Chuck S January 7th, 2013 01:01 PM

well like I said you sure there has ever been an ad posted as the avatar before?

This is a one time deal unless you specifically set an ad as the index thumb

Code:

Content visible to verified customers only.
Looking at the code in image-inc.php I can only theorize without more knowledge here that the thumbnail column is not equal to 0 or empty for that category.

laidback64 January 8th, 2013 08:03 PM

I think what I did was post and ad and then delete it. I think that is why it is not showing an avatar picture. Anyway to reset this?


Also, I would be really interested to find out if there is a way to make the most recent ad image posted in a category be the categories avatar. Is this possible? Thanks

Chuck S January 8th, 2013 09:03 PM

well thats easy just remove the conditional

Code:

Content visible to verified customers only.
would look more like this if you want the last uploaded ad to always be the category avatar

Code:

Content visible to verified customers only.

laidback64 January 8th, 2013 09:22 PM

What template would I do this in?

And to clarify I find this


Code:

Content visible to verified customers only.

and replace it with this

Code:

Content visible to verified customers only.

To make the category avatar always be what the last uploaded photo was?

Chuck S January 8th, 2013 09:25 PM

this code is in the file I noted when I meantioned this code in my prior post on this issue. ;)

right in post 4 image-inc.php

laidback64 January 8th, 2013 11:18 PM

Got it thanks!!!

laidback64 January 8th, 2013 11:36 PM

That worked Thanks!!

Chuck S January 9th, 2013 06:22 AM

No problem enjoy your week let me know if there is anything else I can help with.


All times are GMT -5. The time now is 03:58 AM.

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97