Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 13 Next capture
2021 2022 2023
1 capture
13 Jun 22 - 13 Jun 22
sparklines
Close Help
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
0
Question by diabloroxx · Aug 02, 2010 at 04:01 PM · imagedragaligngallery

Implementing an Image Gallery

Is it possible to create an Image gallery similar to this : http://www.west-wind.com/rick/photoalbum/demoMaui2006/Default.aspx?Admin=true using Unity3d. I know it is possible to click, drag images and save them using jQuery. But is there a way to create images dynamically in Unity3d and then load, move, drag and save them?

If that sounded confusing, this is what I want to do.

  1. Create a blank board.
  2. Add 'n' number of images to the board to display them on the screen.
  3. As a new image is added the other images automatically move and adjust to accommodate the new image (auto align feature).
  4. The images may not be of fixed size.
  5. Finally once all this is done, save the page so that next time they are all loaded the same way.
  6. All this needs to be done using the Web Player.(should have mentioned this first).

What I have thought so far-

  1. Create a plane for the board. (this will hold the images).
  2. Create/load prefabs of planes and then add the images as texture to them. So this will create 'n' different planes for n images.
  3. Save the rect() property of the planes once the user is done arranging them.

Is this possible using Unity3d or is there a better solution? I need to create a photo gallery where the user can basically enter the studio and see different photos of each side of the studio.

Any suggestions and help is much appreciated.

Comment
Add comment · Show 1
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image unity_eaKm_7FNf4Uaww · Apr 09, 2019 at 08:39 AM 0
Share

hello, I want to make a photo gallery where we can upload the photos for my android app. Can you help me?

4 Replies

· Add your reply
  • Sort: 
avatar image
1
Best Answer

Answer by dkozar · Aug 16, 2012 at 07:47 PM

You can accomplish pretty good results (with a small amount of code), using the eDriven RIA framework. Here's the image gallery demo: http://edrivenunity.com/load-images

Unity makes dynamic queries to Flickr and retrieves images. Note that Core part of the framework (asynchronous loading via HTTP, caching...) is completely free and open source: https://github.com/dkozar/eDriven

Cheers!

Comment
Add comment · Show 1 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image Fattie · May 07, 2014 at 09:12 AM 0
Share

Hey Danko! BTW i LOVE your eDriven framework. You know, you see your amazing demo there. Unrelated to the event driven model --- did you have much trouble displaying that many 2D images at once, specifically, does that work on a mobile device, have you ever tried it? Would love to know your experience, cheers

avatar image
2

Answer by pixelplacement · Aug 30, 2010 at 04:35 AM

Have you taken a look at the example: "Using the UnityGUI ScrollView to create a masked sliding menu" on the examples page?

Comment
Add comment · Show 1 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image diabloroxx · Aug 30, 2010 at 03:37 PM 0
Share

Yeah that is somewhat similar to what I need. However, am still looking for ways to make Images appear dynamically. Do you know a solution where I can load images dynamically and animate them? Am sure your project will come in handy.

avatar image
0

Answer by e-bonneville · Aug 02, 2010 at 04:43 PM

You can do this in Unity, but I'd advise against it. This problem has been solved time and time again using the real Javascript (not UnityScript). The solution I'd recommend involves jQuery, which is a library for Javascript. You find what you're looking for (called a carousel, by the way) done over and over again. Here's a link to a prebuilt plugin that does exactly what you're looking for.

Comment
Add comment · Show 2 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image diabloroxx · Aug 02, 2010 at 05:52 PM 0
Share

Thanks for the answer. I already have implemented this in HT$$anonymous$$L with jQuery. However, I want to recreate the same environment inside Unity. Is there a jQuery plugin for Unity3d to do that?

avatar image e-bonneville · Aug 02, 2010 at 06:31 PM 0
Share

Oh, cool. No, I don't think there is. Sorry.

avatar image
0

Answer by tylo · Aug 29, 2010 at 03:47 AM

I don't know if you're still interested in doing this, but the iTween library has a lot of transition effects that you are looking for that other web languages have made popular. You can give that a shot.

Comment
Add comment · Show 1 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image diabloroxx · Aug 29, 2010 at 06:52 AM 0
Share

Thanks for the heads up. Will look into it...But I couldn't find one for Image animation. Thanks nonetheless.

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this Question

Answers Answers and Comments

3 People are following this question.

avatar image avatar image avatar image

Related Questions

Unity3D struggling with iOS ImagePicker plugin Objective C 0 Answers

How to detect file type loaded from device local storage 1 Answer

Detecting onDrag over UI images 1 Answer

how to save compressed image to gallery on Android ? 1 Answer

pick image from android gallery 3 Answers


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges