1 of 3
1
Extension: Weegee - Add thumbnail image for entries on the EE CP Edit page
Posted: 08 July 2008 09:47 AM   [ Ignore ]  
Lab Technician
Avatar
RankRankRankRank
Total Posts:  2103
Joined  03-26-2006

Needless to say, this is useful when you’re using a “weblog as gallery”.

Unfortunately, right now this only works on a field whose Field Type is “File” – which is another 3rd-party extension, by Mark Huot. You can get File by Mark Huot here.

You enter one field id (the field id for the File field you have) – and Weegee will put a thumb from that field on the Edit page (see attached pic). This also only works with one weblog right now. Updates will happen if anyone has suggestions - or anyone cracks this open and sees cool ways to update it. Suggestions welcome.

You can download Weegee here.

Image Attachments
weegee_editscreen.jpgweegee_settings.jpg
Click thumbnail to see full-size image
 Signature 

ryan masuga
—————
Masuga Design (EE Pro) | devot:ee
MD Markitup | All Add-Ons
@masuga | @masugadesign | @devot_ee

Profile
 
 
Posted: 08 July 2008 10:41 AM   [ Ignore ]   [ # 1 ]  
Lab Technician
RankRankRankRank
Total Posts:  1075
Joined  03-25-2005

This looks brilliant!
Nice work.
I see field id, if thats grabbing the image url, would it work if one entered another field id for image ranther than File ext?
ty
.

 Signature 

BKDesign Solutions - Learn XHTML and use   Web Standards to build accessible websites that validate

Profile
 
 
Posted: 08 July 2008 10:48 AM   [ Ignore ]   [ # 2 ]  
Research Assistant
Avatar
RankRankRank
Total Posts:  483
Joined  07-16-2005

This is incredible and exactly what Ee has been missing for this use. Nice job, dude!

Pleeeeeeeease let it support more than one weblog.

 Signature 

Travis Schmeisser // rockthenroll


Structure: a new way to build ExpressionEngine sites

Profile
 
 
Posted: 08 July 2008 10:59 AM   [ Ignore ]   [ # 3 ]  
Research Assistant
Avatar
RankRankRank
Total Posts:  483
Joined  07-16-2005

Just a note: if different weblogs use the same custom field it still pulls thumbs in for you, regardless of them being in different weblogs. Nice!

 Signature 

Travis Schmeisser // rockthenroll


Structure: a new way to build ExpressionEngine sites

Profile
 
 
Posted: 08 July 2008 11:06 AM   [ Ignore ]   [ # 4 ]  
Lab Technician
Avatar
RankRankRankRank
Total Posts:  2103
Joined  03-26-2006

Nice job, dude! Pleeeeeeeease let it support more than one weblog.

Thanks! Believe me I want to develop this further, but I have a looming deadline, and it works for my purpose right now. I literally thought of this only this morning (because my “gallery weblog” was getting HUGE, even with categories, and I really needed to see what these images were) and I put it together as quick as I could. Consider this a “rough draft”.

What I’d like to do is make it so you can pipe-delimit field id’s (eg. Field ID’s: 50|37|18) to show a thumb for. It should work across weblogs, I think. I just had an idea as I typed this, too…

@Bruce2005: The reason this only works with a “File” field type right now is that File stores the upload path in a field called “field_list_items”, which is what I’m using in the query. I tried hard this morning to get it to work with a “regular” field type, but I’ve got a deadline and I wanted to get this out the door. The problem with a text field that is holding a path to an image is that it can hold the image data in different ways, and often has a “{filedir}” variable in it - and I didn’t know what the heck to do with that.

 Signature 

ryan masuga
—————
Masuga Design (EE Pro) | devot:ee
MD Markitup | All Add-Ons
@masuga | @masugadesign | @devot_ee

Profile
 
 
Posted: 08 July 2008 09:47 PM   [ Ignore ]   [ # 5 ]  
Lab Technician
Avatar
RankRankRankRank
Total Posts:  2103
Joined  03-26-2006

If anyone knows how to create/cache thumbs in the CP, this Extension could use a heavy dose of that. Maybe be a little close to EE 2.0 to really matter, but I’m sure some people will be using 1.x for a while yet.

 Signature 

ryan masuga
—————
Masuga Design (EE Pro) | devot:ee
MD Markitup | All Add-Ons
@masuga | @masugadesign | @devot_ee

Profile
 
 
Posted: 09 July 2008 12:22 AM   [ Ignore ]   [ # 6 ]  
Research Assistant
Avatar
RankRankRank
Total Posts:  301
Joined  04-12-2008

Looks good Ryan.

Just out of curiousity: wasn’t there a solution for associating a gallery / multiple gallery entries with a weblog post? This is slighltly off-topic so you’re free to ignore wink

 Signature 

Designchuchi | Twitter

URL Field Extension
Required Category Extension
DC FreeForm GeoIP Extension
DC Template Manager

Profile
 
 
Posted: 09 July 2008 12:26 AM   [ Ignore ]   [ # 7 ]  
Research Assistant
Avatar
RankRankRank
Total Posts:  512
Joined  04-23-2008

Ryan,

That’s a great extension.. It’d be mighty sweet if you can somehow figure out a way to get it for standard text fields so we could combine this with LG SAEF File Upload.

Good job mate!

 Signature 

Danny Tam » Twitter | LinkedIn | Facebook | Flickr

Profile
 
 
Posted: 09 July 2008 12:40 AM   [ Ignore ]   [ # 8 ]  
Lab Technician
RankRankRankRank
Total Posts:  1075
Joined  03-25-2005

Just out of curiousity: wasn’t there a solution for associating a gallery / multiple gallery entries with a weblog post?

Are you referring to solspaces gallery extension? It is quite different…

 Signature 

BKDesign Solutions - Learn XHTML and use   Web Standards to build accessible websites that validate

Profile
 
 
Posted: 09 July 2008 02:31 AM   [ Ignore ]   [ # 9 ]  
Lab Technician
Avatar
RankRankRankRank
Total Posts:  1301
Joined  01-24-2006

Nice work Ryan… looks like you have tackled the image issue head on… Good luck wink

 Signature 

Newism - Newcastle Web Design & Development


NSM Publish Plus - Collaborative workflow and live entry previews
LG Better Meta - SEO Meta & XML Sitemap Generator
LG Polls
LG .htaccess Generator
20+ EE addons

Profile
 
 
Posted: 09 July 2008 06:19 AM   [ Ignore ]   [ # 10 ]  
Lab Technician
Avatar
RankRankRankRank
Total Posts:  2103
Joined  03-26-2006
peschehimself - 09 July 2008 12:22 AM

Looks good Ryan.

Just out of curiousity: wasn’t there a solution for associating a gallery / multiple gallery entries with a weblog post? This is slighltly off-topic so you’re free to ignore wink

There is one out there, which I’ve used before. I did not want to use the Gallery Module on my current build - I try to avoid it when I can. So I went the “weblog as gallery” route. The problem there is - you can’t get a good look at multiple images at once like you can with a Gallery, so this extension takes care of that to some degree.

 Signature 

ryan masuga
—————
Masuga Design (EE Pro) | devot:ee
MD Markitup | All Add-Ons
@masuga | @masugadesign | @devot_ee

Profile
 
 
Posted: 09 July 2008 06:25 AM   [ Ignore ]   [ # 11 ]  
Research Assistant
Avatar
RankRankRank
Total Posts:  301
Joined  04-12-2008

Totally understand.

Can’t wait until Leevi finishes his gallery module and hopefully also simplifies the entire worklflow in this approach.

 Signature 

Designchuchi | Twitter

URL Field Extension
Required Category Extension
DC FreeForm GeoIP Extension
DC Template Manager

Profile
 
 
Posted: 09 July 2008 07:59 AM   [ Ignore ]   [ # 12 ]  
Research Assistant
Avatar
RankRankRank
Total Posts:  483
Joined  07-16-2005

@peschehimself you can do a ghetto version by enabling multiple images per entry with Huot’s file extension and out putting them within a single entry. I’ve done this before and it works great.

 Signature 

Travis Schmeisser // rockthenroll


Structure: a new way to build ExpressionEngine sites

Profile
 
 
Posted: 09 July 2008 08:13 AM   [ Ignore ]   [ # 13 ]  
Lab Technician
Avatar
RankRankRankRank
Total Posts:  2103
Joined  03-26-2006

I’ve done that too (File extension set to “multiple”). I even tried making those multiple files draggable - so you could re-sort them. Sort of like “File on steroids”. Ran out of time on that experiment, though. Looks like Leevi is taking things in a new direction for the possibility of “mini-galleries”, which is great.

 Signature 

ryan masuga
—————
Masuga Design (EE Pro) | devot:ee
MD Markitup | All Add-Ons
@masuga | @masugadesign | @devot_ee

Profile
 
 
Posted: 14 July 2008 09:58 PM   [ Ignore ]   [ # 14 ]  
Lab Assistant
Avatar
RankRank
Total Posts:  157
Joined  10-10-2007
mdesign - 08 July 2008 09:47 AM

You can download Weegee here.

web site returns this message Ryan,

Database Error: Unable to connect to your database. Your database appears to be turned off or the database connection settings in your config file are not correct. Please contact your hosting provider if the problem persists.

must be a bad time, are you working on the database?

 Signature 

.
....................................................who we are...what we do...how you benefit

Profile
 
 
Posted: 14 July 2008 11:29 PM   [ Ignore ]   [ # 15 ]  
Research Assistant
Avatar
RankRankRank
Total Posts:  387
Joined  01-20-2006

You could use some jQuery-Fu to rotate between images in the CP edit display. Piece of cake? smile

 Signature 

AJ Penninga
Pretty Squares, LLC - http://www.prettysquares.com

Profile
 
 
Posted: 15 July 2008 07:06 AM   [ Ignore ]   [ # 16 ]  
Lab Technician
Avatar
RankRankRankRank
Total Posts:  2103
Joined  03-26-2006
Cem Meric - 14 July 2008 09:58 PM

web site returns this message Ryan,

Database Error: Unable to connect to your database…

must be a bad time, are you working on the database?

My server (I’m running on a VPS) is pretty much at capacity - and masugadesign.com is on it. I had to restart mySQL this morning. I have a new, bigger, better, faster VPS, but I have yet to move my site there.

Should be back up now!

 Signature 

ryan masuga
—————
Masuga Design (EE Pro) | devot:ee
MD Markitup | All Add-Ons
@masuga | @masugadesign | @devot_ee

Profile
 
 
Posted: 16 July 2008 09:20 PM   [ Ignore ]   [ # 17 ]  
Lab Assistant
RankRank
Total Posts:  153
Joined  07-18-2007

Silly question, but where do I find the field id?

Profile
 
 
Posted: 16 July 2008 10:11 PM   [ Ignore ]   [ # 18 ]  
Research Scientist
Avatar
RankRankRankRankRankRank
Total Posts:  6243
Joined  08-04-2002

You could look in the database tables…
CP Home ›  Admin ›  Utilities ›  Manage Database Tables
Browse exp_weblog_fields

Profile
 
 
   
1 of 3
1
 
Post Marker Legend
New Topic New posts Hot Topic Hot Topic with new posts New Poll New Poll Moved Topic Moved Topic Sticky Topic Sticky topic
Old Topic No new posts Hot Old Topic Hot Topic with no new posts Old Poll Old Poll Closed Topic Closed Topic Announcement Announcements
Theme
Change Theme
Visitor Statistics
The most visitors ever was 1743, on December 02, 2009 02:47 PM
Total Registered Members: 115001 Total Logged-in Users: 112
Total Topics: 122435 Total Anonymous Users: 54
Total Replies: 647299 Total Guests: 494
Total Posts: 769734    
Members ( View Memberlist )
Active Members:    .jb3000a38dAdam DorseyAndrew MacphersonAndy HarrisAt the GatesBill McGrathBlair Lbmillercc000001Chris ClarkeChris Warehamchrisbarber86Christian SchulteCompass360COSUCraig AllenCrucialDamian Lewisdamienhdanigirl1085David RousseaudesignerhandbagsdstechroomdubsakDylan Smith/ContextDesigneddieadamseefalconEuanfccinterFrank SpilkerfusioeeGeorgi VeznevgomacrogridhearsayHrimthursiamnickIan CimpdesignsinformedexpatsIngmar GreilJames MattisonJason MaynardJay FjeremydouglasjmorinJohn FullerJohn*JohnelsjohnmckJonnyTurnerjonparadise2Jordan MooreJosh StewartJustin Longkalweblincolnpixellog cabinlouderthan10Lyle AndersonmaishMario RodríguezMark BowenMark CroxtonMatthias HinrichsMattJeansMike BeanmrycarneostructuralistNico SmitodaddyOliver NielsenParisJCPascal KrietePete EveleighpMacedqbrandsqlasrandolph35parksRECREATIVOregistryRenmanResponse1ripperobertbanhroybyrunning with scissorsrussliptonRyan FaubionseansciarronesmartpillsmidoidstephenslaterTactile Design GrouptaktakTambour BattantThe Spotlight KidtimprinttritcheyvobtoaviWabi Sabi PressX-Teamyabdabzackmorgan