citrus / spree_essential_cms

SpreeEssentialCms is a full featured CMS for Spree Commerce.
BSD 3-Clause "New" or "Revised" License
68 stars 82 forks source link

markItUp image browser #15

Closed sbounmy closed 12 years ago

sbounmy commented 12 years ago

Hi @citrus,

When I am creating a page, I want to be able to control images' positions.

There is an 'image browser' function in the markItUp JQuery plugin which is not implemented, what do you think ?

Thanks!

citrus commented 12 years ago

Do it!! Sounds like it could be handy :)

Any way we could make it work with the custom image picker too?

sbounmy commented 12 years ago

Hum I might be missing something, what is the custom image picker ? Do we have an existing way to control content's images position ?

citrus commented 12 years ago

The custom image allows you to add images to your content that you've added the the 'uploads' section of the admin... Similar to that of Refinery CMS.

It's the second button from the right, next to the 'Preview' button..

To be honest it needs a bit of work.. Currently there is no pagination when listing the uploads in the picker, and the UI is a bit confusing...

citrus commented 12 years ago

Oh and sorry to answer your question there is no code in place to choose how an image is positioned..

sbounmy commented 12 years ago

doh, I just saw the uploads section, its working great with the image browser ! I can partially control how images are displayed now within markItUp, thanks ! To fully control images' position I wil have to play with img class & css i guess.

Thanks for your help @citrus !

citrus commented 12 years ago

Haha right on, good luck! Remember too that you can also put regular HTML into the markitup editor.. This way you can use Spree's css column framework to really customize your pages :) :beer: :beer:

maybe we should be adding some of this to the docs ;)