如何在线设计师创作? [英] How to online designer creator?

查看:92
本文介绍了如何在线设计师创作?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

http://www.tailorstore.com/pk/zh-CN/tailor-衬衫

我想创建一个这样的网站,用户可以在其中创建这样的衬衫.

I want to create this kind of website where user can create shirts like this.

我很困惑,这是每个设计上的javascript调用都点击右键更新一件衬衫吗?

I am confused that is this javascript call on each design click right one shirt update?

如果是,那么它是如何工作的?他们将这些小图像位置固定为长图像吗?

if yes then how it is work? have they fix these small images position to long image?

像科洛尔在衬衫上的位置固定(大图)

like collor has fixed position on shirt (large image)

从技术上讲,我想向您建议如何完成此任务?

techanically i want to your suggestion how to achieve this task?

推荐答案

简单的答案是将每个选择的类别(颜色,类型等)保留在Session或ViewState变量中,然后将它们全部串在一起以创建图像文件名并将其放置在图像保存器中. Ajax UpdatePanel将实现此处创建的效果.例如,如果我单击白色按钮,则它将存储

Easy answer is to keep each category of choice, (color, type etc.) in a Session or ViewState variable, then string them all together to create an image filename and place it in an image holder. An Ajax UpdatePanel will achieve the effect created here. For example, if I click the white button then it stores

Session["Color"] = "white";

无袖:

Session["Type"] = "sleeveless";

然后,我可以将它们结合起来返回"white-sleeveless.jpg"的显示图像.

Then I can return a display image of 'white-sleeveless.jpg' by combining them.

这篇关于如何在线设计师创作?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆