Is there no "image" field type?!

15 years 9 months ago #68794 by cambler
Is there no "image" field type?! was created by cambler
I'm working on a portal site for artists submitting art to a juried art show. Part of the signup process will be submitting three images.

I created three tabs, "Submission 1," "Submission 2," and "Submission 3." Each tab has fields for the information about the artist's submission (like size, media, price, description, etc.)

But I'd like to allow the artist to upload a JPG of the piece - yet there's no "image" field type!

Am I hosed?

Please Log in to join the conversation.

15 years 9 months ago #68802 by cambler
Replied by cambler on topic Re:Is there no "image" field type?!
Whoa! There *is* an "image" field type! It's only on the portrait tab, though.

Is there no way I can use this field type on my own tab?!

So close, but denied?! ;)

Please Log in to join the conversation.

15 years 9 months ago #68806 by Rapunzl
Replied by Rapunzl on topic Re:Is there no "image" field type?!
just change the image field settings to indicate the image is part of "custom name" tab.

Jamie (Rapunzl)
Community Builder Team Member

Before posting on forums: Read all CB Articles | Specially the FAQ | Help us help you
CB links: Subscribe to CB documentation | [url=http://www.joomlapolis.com/content/view/7363/37/
]Our templates[/url] | [url=http://www.joomlapolis.com/content/blogcategory/61/74/
]Paid Subscriptions[/url] | Get Hosting | Our Forge
Visit my CB Profile

My personal site Rapunzl's Reality always under reconstruction

Please Log in to join the conversation.

15 years 9 months ago #68807 by cambler
Replied by cambler on topic Re:Is there no "image" field type?!
No, that won't work, as the image field is the avatar. That would just move the avatar.

I have a custom tab (I just created my own plug-in, but I could easily use a "generic" tab) that needs five images.

Indeed, it could be five images that behave just like the avatar.

So I've hacked it up. I'm enabling "image" as a selectable data type, and then overriding cbFieldHandler in my plug-in's tab to deal with it just like an avatar, but handle the pathing and such.

Please Log in to join the conversation.

15 years 9 months ago #68814 by cambler
Replied by cambler on topic Re:Is there no "image" field type?!
Well, I see why "image" isn't available now.

It's filled with hard-coding for avatar paths.

It's not "image" at all. It's just avatar. I made a tab with five images, and they all just track my avatar.

Sigh.

Please Log in to join the conversation.

15 years 9 months ago #68815 by Rapunzl
Replied by Rapunzl on topic Re:Is there no "image" field type?!
Have you tried CB Profile Gallery. The old one still works in 1.5 Legacy with RC2. Nant should have the update out soon after CB 1.2 is released.

Jamie (Rapunzl)
Community Builder Team Member

Before posting on forums: Read all CB Articles | Specially the FAQ | Help us help you
CB links: Subscribe to CB documentation | [url=http://www.joomlapolis.com/content/view/7363/37/
]Our templates[/url] | [url=http://www.joomlapolis.com/content/blogcategory/61/74/
]Paid Subscriptions[/url] | Get Hosting | Our Forge
Visit my CB Profile

My personal site Rapunzl's Reality always under reconstruction

Please Log in to join the conversation.

Moderators: beatnantkrileon
Time to create page: 0.305 seconds

Facebook Twitter LinkedIn