User Tools

Site Tools


merkalt:navnestempel_ui_schema

This is an old revision of the document!


navnestempel current design sketch

site_stamps.psd.zip

There are tech comments in italic

Page layout

The layout will be fixed width

Section 1 - Design area

Design area includes different controls to customize the label, Flash Area to represent results of customization. All controls will be made as HTML elements. Each label design (Label Area) could include one image and many text lines. //Interaction of controls with flash will be based on JS-Flash integrations (http://www.permadi.com/tutorial/flashjscommand/) //

Lines

Each stamp size has a maximum number of lines to be added for design so the number of lines will be from 0 to MAX_FOR_SIZE, this will be controlled by the code of Add new line. Initially on label creation there are 0 lines. Add new line click produces an addition of new Line Group, which including text input to add line and removal 'x' icon to delete line from design. Text added into the line will be immediately shown in Label Area, the new line will be placed into free place and auto - adjusted in sizes. The line will be added to Label Area only when the first character in line field entered. As soon as line content is empty, the appropriate text block will be removed from Label Area. Also we need to define a condition, when the new line couldn't be added because no free space, with appropriate notification. There will be also a special restriction on the number of characters in the text line based on size selected The interface of label design area needs to be adjusted that in different circumstances there could be different number of Line Groups.

Font selector - select for fonts. Each font will be in separate .swf-file in “/fonts”-folder. Flash will load each font on demand, if it isn't allready loaded. It will save load time for main part with unnecessary traffic.

Images


Add own image - this button click will launch file selector to file upload using SWFUpload package. If the file is in unsupported format or not uploaded - there will be a notification message to user, nothing will happen with Label Area. If file is ok, image will be added/replaced (current image removed, the new will be set on its place) to the Label Area. Image will be auto resampled on upload case of image sizes is more then available free space, keeping aspect ratio. The button click also hides motifs selector area

The stamps comes only red, blue and black. No need for “advanced” color selection. All text and image on one stamp must be same color. A stamp can only print or not print on a certain area. No grays that is the problem with color conversion. The most simple is that we will define color range for white and all other will be counted black.


select from motifs - this button click will launch sliding down motifs selector area which will be the same as current merkalt.no in layout. The selected image will be added/replaced to the Label Area, the same rule for resampling.


As soon as image selected from motifs or uploaded, it immediately appears in Label Area. If no image were defined yet the largest free space on Label area will be selected for image block placing and the block will be placed at the left side of selected free space area. In the case of image block already exist in Label area, the content of this block will be replaced with new selected image.


COLOUR SELECTOR - will be similar to http://ecritters.biz/colorselector/, be integrated later . Change of colour will result changes of all texts colours


Size selector - a group of radio buttons (or could be realized any other way) which will change the size of label designed. //Change of size will result in change of Label Area size. Current controls in Label Area will be resized - reduced on area reducing, kept the same on area increasing. Aspect ratio on reducing will be kept the same. If the user select a size which has LESS MAX number of lines (say 2) than current (say 4), then 3rd and 4th line will be deleted from Label Area //


Add new design is added into every Label design area as in merkalt.no
Delete label button removes the current label completely.

Flash Area

Flash Area is the container for Label Area. Flash Area size is the max size from the stamp sizes (please note that sizes are done in mms) 40 x 90 + paddings.

—STAMP SIZES—

  • 10×60 mm
  • 12×12 mm
  • 14×38 mm
  • 18×50 mm
  • 20×20 mm
  • 22×60 mm
  • 27×70 mm
  • 30×30 mm
  • 34×58 mm
  • 40×40 mm
  • 40×90 mm
Label Area

Label Area is used to store customization design. It is a bordered area inside Flash Area. It is important to keep aspect ratio of Label Area. Label Area could contain one image and numerous lines. One image or one line forms a block. Blocks could be resized and moved, without crossing (overlaying) borders of other blocks. Blocks could be moved and resized only in active state (//active state is set when user is clicked on block, block is bordered in active state with small resize icon. if the user clicked on block and move mouse the block will be moved. If the user is clicked on resize icon and move mouse, the block will be resized. There will be minimal sizes of font and minimal width and height, block couldn't be made less than such sizes. There will be also maximum size of image, image block couldn't be made more than MAX_IMAGE_WIDTH or MAX_IMAGE_HEIGHT. When user drag block, if two blocks will collide on each other, user wouldn't be able to drag block in collision direction. If user clicks on free space - none of blocks will be selected. //)

Any change in Label Area will result in changes of resulting jpeg image which will be 600 DPI resolution and sizes in pixels approximately equal to stamp sizes in mms.

Section 2 - Labels Listing

The functionality and layout of labels listing will be mostly the same as on the current merkalt.no. Each position will be represented by labels 'types' and a small copy of Label Area jpeg. The main difference is that there will be different image sizes, because of different stamp sizes used. QC block means quantity controls
//Each stamp size should have its own price. //

Payment option section is a new section with selectors of payment type (Paypal, Cash on delivery, Bank transfer, Invoice). Option selection will result in price change.

Section 3 - Customer Info

The functionality and layout will be mostly the same as on the current merkalt.no

Other changes

Email notification should include new functionality like size select, payment option etc. . If the user selected Paypal payment he proceeds to Paypal, otherwise via standard route to the 'thank you' form. The new site will be based on template system.

Questions


1. Is there some difference between order data needed for Paypal payment method and other methods like Bank transfer or Invoice? If it is, what kind of data fields must be added for this other payment methods?


No. But as this is the business edition on the site it would be nice to have on Billing address and one Shipping address. Automaticly filling out shipping if it is the same as Billing.

Questions from Andreas


What about text fonts? I need several text fonts to be available.

merkalt/navnestempel_ui_schema.1239972954.txt.gz · Last modified: (external edit)