Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#13 2007-02-11 01:50:15

squaredeye
Member
From: Greenville, SC
Registered: 2005-07-31
Posts: 1,495
Website

Re: [request] Image upload from Write tab

That’s a good point Patrick.
You have a pretty good understanding of mary’s plugin here. Do you have some time to work on this?


Offline

#14 2007-02-11 01:58:03

hcgtv
Plugin Author
From: Key Largo, Florida
Registered: 2005-11-29
Posts: 2,722
Website

Re: [request] Image upload from Write tab

I think the plugin could have two ways to access it from the write tab:

  • Insert Image
  • Insert New Image

Insert image behaves like it does now, insert new image pops up a dialog where you can upload an image and it automatically inserts the image tag into the article.

Offline

#15 2007-02-11 02:10:46

masa
Member
From: Asturias, Spain
Registered: 2005-11-25
Posts: 1,091

Re: [request] Image upload from Write tab

hcgtv wrote:

  • Insert Image
  • Insert New Image

or perhaps…

Insert:
  • Existing Image
  • New Image

Good feedback! I’ll have a think and will put together another mockup during the weekend :-)

Offline

#16 2007-02-11 21:49:36

hakjoon
Member
From: Arlington, VA
Registered: 2004-07-29
Posts: 1,634
Website

Re: [request] Image upload from Write tab

Matthew,

Yeah, I’d be willing to work on this. I’ve been planning on writing some sort of image picker anyway, and I already implemented a simple one for hak_tinymce.

I would love to see this be a community driven plugin(which I think it already is) like zem_contact_reborn, so it’s not just me making implementation decisions.


Shoving is the answer – pusher robot

Offline

#17 2007-02-12 02:48:49

squaredeye
Member
From: Greenville, SC
Registered: 2005-07-31
Posts: 1,495
Website

Re: [request] Image upload from Write tab

I’ll throw down with ya :)


Offline

#18 2007-02-12 17:44:42

masa
Member
From: Asturias, Spain
Registered: 2005-11-25
Posts: 1,091

Re: [request] Image upload from Write tab

I’ve created a new mockup

Insert Existing Image links to Mary’s img_popper if installed.

Upload New Image toggles the display of a minimal upload & insertion tool, made to fit in the available space.

I labelled the sizes small, medium and large to keep it simple to grasp, but this could possibly be controlled via the plugin’s preference settings to show pixel sizes instead. The idea is that also the different pixel values could be controlled there, for instance you could set them up like this:

small: 240/160px
medium: 360/240px
large: 480/360px

That allows some sort of control so the end user couldn’t upload all sorts of different sizes. It would also ensure a more consistent look of the resulting pages.

Thoughts?

Last edited by masa (2007-02-12 17:46:19)

Offline

#19 2007-02-12 18:51:52

squaredeye
Member
From: Greenville, SC
Registered: 2005-07-31
Posts: 1,495
Website

Re: [request] Image upload from Write tab

Masa,
I think this is heading in the right direction, but having heard Hakjoons thoughts here, I would be more in favor of heading toward something like this which Bastian had started to think of.

Here’s what it needs to accomplish:

  • Upload if necessary
    • If upload, then assign details. Create thumb. alt. caption, etc. Ability to create category on the fly if necessary.
    • If upload multiple images??? How would detail assignment work if this was the case?
  • Select image if already uploaded or just uploaded
  • set display settings (using graphical representations of classes – defined in a extensions/pref tab)
  • insert image (similar options here to img_popper, but could be limited in an extensions/pref tab)

Things I think are preferential:

  • Single interface (not two separate links)
  • Images handled like bas_img (with hierarchical folders) or (multiple categories – tagging) for sorting purposes (may be outside the frame of this plugin)
  • Simple image manipulation (again, may be outside the scope)

What do people think of that?


Offline

#20 2007-02-13 15:49:57

Dragondz
Moderator
From: Algérie
Registered: 2005-06-12
Posts: 1,538
Website GitHub Twitter

Re: [request] Image upload from Write tab

Hi everyone

I read carefully your discussion because I am thinking about the same thing, but a simple one, I think in some case we just need a simple write tab with simple image selector/upload, and also i agree with the bastian approach, my thinking is that the both must exist and each one choose witch catch his needs.

My thought are about website like webdirectory that just need simple forms, i think about new write form (added by plugign) with just a basic forms and simple image management (upload, insert, modify). that tab will be accessed by low privilege membere (0) and fix data like :cat, section,… in pref table.

What do you think about that?

PS: Sorry for my bad English

Offline

#21 2007-02-13 15:57:27

hakjoon
Member
From: Arlington, VA
Registered: 2004-07-29
Posts: 1,634
Website

Re: [request] Image upload from Write tab

I LOVE that mockup that Bastian put up. I love every visual inch of it.

However…

I can’t figure out how to use it. I would love to take that idea and run with it though.


Shoving is the answer – pusher robot

Offline

#22 2007-02-13 16:32:23

squaredeye
Member
From: Greenville, SC
Registered: 2005-07-31
Posts: 1,495
Website

Re: [request] Image upload from Write tab

Dragondz,
I like your idea. I think it is accomplishable (new word :) through extending ied_hide_admin (one of my fave plugins)? or pulling a similar interface/use into a plugin like this, although that seems like it makes a plugin huge to me.

Hak,
bq. I can’t figure out how to use it.

Do you mean, you can’t figure out the workflow or the coding? You are one of the best coding maniacs I know, so I am guessing you mean workflow.

I’m going to try to work up a workflow mockup, to show you how I think it would work.
Perhaps by tonight I’ll have it finished.

Matthew


Offline

#23 2007-02-13 17:47:35

hakjoon
Member
From: Arlington, VA
Registered: 2004-07-29
Posts: 1,634
Website

Re: [request] Image upload from Write tab

You all see Bastian’s post about adding upload functionality to bas_img_selector?

Does that make these discussions unnecessary?


Shoving is the answer – pusher robot

Offline

#24 2007-02-13 17:51:36

squaredeye
Member
From: Greenville, SC
Registered: 2005-07-31
Posts: 1,495
Website

Re: [request] Image upload from Write tab

Okay,
I’m faster than I thought and my firstborn slept longer than I thought.
How about This:

Let me know if there are any parts that seem confusing.
Also a note:

  1. I’m not the biggest fan of the traditional txp interface, but I don’t wish to deviate from it in basic form,
    as opposing interfaces can be more confusing to users than similar (albeit poor) ones. Therefore, I’ve
    simply tried to make better use of the horizontal space.
  2. I’ve thrown this together very quickly, if a version of this was to be used, it would need to be looked
    at more carefully for spacing and whitespace.

:)

Matthew


Offline

Board footer

Powered by FluxBB