Changing default Thumbnail in Pimcore & Workflow question - pimcore

is there a way to change the default thumbnail size in Asset -> View Tab ?
I would like to be able to view the image in higher quality without going to Edit tab.
Second I would like to know if it's possible to filter assets after Workflow place ?
Thank you.

Related

Orchard CMS create theme view for my content type

I am using orchard cms with the bootstrap theme.
I have created a content type: House
it contains FIELDS
image (media picker field)
Property Type (taxonomy field)
Location (taxonomy field)
It has PARTS
common
body
publish later
Title
Autoroute
I want queries of houses and be able to choose the view/ layout for them
e.g. layout called HouseList (for sidebars mainly) which will render: title, image and link to house, possible location and type but with out the links as defaulted. And then a fullDetails layout and a image only layout (so i can show a jquery image reel a widget say in a quadzone) How can i do all this please, i have tried in view Content-House.cshtml etc but i cant access the details model.content to choose what to display.
Im sure when i get the idea of how to do 1 i should be able to sort the rest. I have read documentation etc but there are so many different ways, ie placement file, change the parts, contents, create classes to handle display etc. sureley i am missing something simple like create a view for each list i want eg. houue-list, house-details, house-imageONly and then manipulate content.
Please help i have been trying different things for getting this site running for weeks and not getting very far. Examples would be fantastic but i have searched google for hours and found similar but nothing with enough details for a meer beginer.
Thanks
The standard way of doing that is placement to move things around and alternate templates for the different parts and fields. You can specialize placement and alternates with the display type, which is Summary when rendering in a list such as what a projection returns, and Detail for the detail view. More info on placement can be found here: http://docs.orchardproject.net/Documentation/Understanding-placement-info and on alternates here: http://docs.orchardproject.net/Documentation/Alternates
Now if you prefer to completely take over the rendering and do without placement, here are a few posts that may help:
http://weblogs.asp.net/bleroy/archive/2011/07/31/so-you-don-t-want-to-use-placement-info.aspx
http://weblogs.asp.net/bleroy/archive/2011/03/27/taking-over-list-rendering-in-orchard.aspx

How can I specifiy an alternate layout for NotFound.cshml and ErrorPage.cshtml in Orchard CMS

I know you can use layout filters for normal pages with urls, but upon errors the view changes while keeping the url the same, so I can't utilize a new layout based on the path. Any help would be appreciated. Thank you!
Off the top of my head:
If you look in Core > Shapes > Views, you will see two files - one called ErrorPage.cshtml and one called NotFound.cshtml. Simply copy these files and paste them into your theme's view folder.
I have not tested this method with these particular pages, but I did do something similar with the LogOn widget.
Something to bear in mind is that the contents of these files will be rendered in the Content zone of your current theme.

User uploaded images drag/drop to a Raphael SVG then resize, rotate and fill path

This may be a bit long, but thank you in advance for any assistance.
I am trying to develop a web app that will allow the user to interact with a wireframe 'drawing' of a chosen product and customize each path with either an uploaded image, color/pattern or add whatever text...or all, if they choose (something similar to customizing a greeting card)...for THIS question, I will start with the image part....
Here is what I have so far: http://jsfiddle.net/rednevednav/C9aDm/
What's the most effective way to able to use any image...one that has been uploaded by the user...to append the fill of a selected path and then be able to drag it around, resize it and rotate BEHIND the selected path (so they can control the part of their image that gets 'cropped'? (*Note: I've searched for months and haven't found anyone else doing this outside of Flash....MyPublisher.com gets really close, but it's all squares and no SVG...I've looked at using ImageMagick and 'dst_in' on the server side...but after hard coding an image into svg...like on my jsfiddle...it seems that this could be done client side)
Should I be using Raphael for this application in the first place? Or?
**Hoping to stay within the Raphael framework (if using at all) in order to maintain the IE support afforded out-of-the-box that it provides; I understand that too much java hacking kills this. Of course, the 'finished' product will need to be downloaded as a .pdf....but that's another question for another time.
EDITED: # Thanks to an answer to my question HERE, I've update my JSFiddle with how to get URL from an uploaded image and use to fill path in Raphael paper. So that leaves 2 questions on this subject that I'm still struggling to resolve:
1. How to use this uploaded image to be able to drag and drop onto path to update fill?
2. How to first select which path I want the uploaded image to fill? (for when drag/drop is not available)
Thank you again in advance of any assistance!

Template Variables do not update from default values

I'm new to ModX, but I have created a Template Variable (TV) for an Image ( image-1 ) .
Then I set a default value, and assign the TV to my Home_Template, click save.
Create some simple html in that template:
<li>[*image-1*]</li>
As expected, the template variable is available on this screen. So I select the image I want to display, and save. It appears in the preview for this template screen, but not on the actual website.
Any ideas?
check your caching settings ~ probably best to turn off caching completely during development.
also try calling your snippets & variables as 'uncached' ex:
[!*image*]
this looks like evolution code, best to switch to revolution if at all possible.
-sean

Drupal 6: How do I create a Product Item Gallery

I am creating a site that includes many products, of each of those products I could have up to 10 images.
What I need to do is this:
1: Image #1 - loaded (large)
2: Create thumbnails of each of the uploaded images
3: Place thumbnails under large image
4: When user clicks on a thumbnail it will replace the large image with the one selected
To change images dynamically without a page refresh will require some javascript. I would recommend using jQuery as it's a quasi-standard, ships with Drupal 6 and is very easy to use.
On each of the thumbnails you would add an onClick even that would update the src attribute of the large image. The browser will take care of pulling in the new large image for you.
The followng jQuery-based function will update an img tag with id "large" to use newPath to replace its current src value:
function updateLarge( newPath ) {
$("#large").attr("src", newPath);
}
Also, if you are creating an eCommerce site you should consider using something like Ubercart. You can use CCK to add fields to Ubercart products as per FlorianH's solution, but you also get things like a shopping cart and checkout for free.
I know that it is quite a learning curve at the beginning, but I think you should really check out CCK and views. You have to invest some time, but it is well worth it.
In your particular case, you should probably add an imagefield to your product, add imagecache rules to resize them and create a specialized view for you product that displays the images as you described.

Resources