Advertise Mobile SDKs Books Events Forum News Social Networking Support Us
Follow @iphonedevsdk on Twitter

Mockup & CodeGen, iPhone & iPad
($9.99)

Make your own iPhone apps
and run them live!
(free)

Manu
($0.99)

Want your application or service advertised on iPhone Dev SDK?

Go Back   iPhone Dev SDK Forum > iPhone SDK Development Forums > iPhone SDK Development

Reply
 
LinkBack Thread Tools Display Modes
Old 02-06-2009, 12:32 PM   #1 (permalink)
Registered Member
 
Join Date: Dec 2008
Posts: 13
Default Develop iphone photo app

I need to build a feature similar to iphone photo viewing app.
Where user can scroll through all images, zoom through current image and double tap to zoom out. I can do without double tap too.

I have used UIScrollView and loaded some images with paging enabled. But when I zoom in everything messes up.
I tried to do in a different way where I put all images in a single UIView containing images and put that UIView inside UIScrollView. But this way when I zoom all the remaining images also zoom in.

I have been trying to do all such things since 3 weeks.

Can anybody pleaase post code as to how to emulate this native iphone app.

Thanks,
Maneesh
maneeshr is offline   Reply With Quote
Old 02-06-2009, 12:48 PM   #2 (permalink)
Registered Member
 
RickMaddy's Avatar
 
Join Date: Oct 2008
Location: Denver, CO
Posts: 2,122
Default

There a several existing threads here on this subject. Do a search. But you are not likely to find a good answer. It's a very difficult task.
RickMaddy is offline   Reply With Quote
Old 02-06-2009, 01:19 PM   #3 (permalink)
Registered Member
 
Join Date: Dec 2008
Posts: 13
Default I have spent loads of time searching on this forum n google

Quote:
Originally Posted by RickMaddy View Post
There a several existing threads here on this subject. Do a search. But you are not likely to find a good answer. It's a very difficult task.
Yes Maddy, I do agree with you. I have spent loads of time searching on this forum n google, but in vain. I hope somebody answers to this question.
So did you find any success??
maneeshr is offline   Reply With Quote
Old 04-23-2009, 10:34 PM   #4 (permalink)
Support Female Indie-Devs
 
sarahconnor's Avatar
 
Join Date: Apr 2009
Location: Austin
Posts: 197
Smile help please

Got it thanks


Quote:
Originally Posted by maneeshr View Post
I need to build a feature similar to iphone photo viewing app.
Where user can scroll through all images, zoom through current image and double tap to zoom out. I can do without double tap too.

I have used UIScrollView and loaded some images with paging enabled. But when I zoom in everything messes up.
I tried to do in a different way where I put all images in a single UIView containing images and put that UIView inside UIScrollView. But this way when I zoom all the remaining images also zoom in.

I have been trying to do all such things since 3 weeks.

Can anybody pleaase post code as to how to emulate this native iphone app.

Thanks,
Maneesh

Last edited by sarahconnor; 07-12-2009 at 04:44 PM.
sarahconnor is offline   Reply With Quote
Old 04-24-2009, 07:01 PM   #5 (permalink)
Registered Member
 
Join Date: Apr 2009
Location: Reading, UK
Posts: 50
Send a message via MSN to kendolondon Send a message via Yahoo to kendolondon Send a message via Skype™ to kendolondon
Default

You might want to take a look at this library:

joehewitt's three20 at master - GitHub

Has an excellent photo viewer component and lets you load image directly from the web simply by providing a URL.
kendolondon is offline   Reply With Quote
Old 07-02-2009, 11:18 PM   #6 (permalink)
New Member
 
Join Date: Jun 2009
Posts: 1
Default

Quote:
Originally Posted by kendolondon View Post
You might want to take a look at this library:

joehewitt's three20 at master - GitHub

Has an excellent photo viewer component and lets you load image directly from the web simply by providing a URL.

But if the photo is not on the web, but in the local? What is the way of doing this?
washi is offline   Reply With Quote
Old 07-16-2009, 04:54 PM   #7 (permalink)
Registered Member
 
Join Date: Jun 2009
Posts: 82
Default

Quote:
Originally Posted by washi View Post
But if the photo is not on the web, but in the local? What is the way of doing this?
I need to know the same thing.
SmoshySmosh is offline   Reply With Quote
Old 07-20-2009, 02:21 PM   #8 (permalink)
New Member
 
Join Date: Jul 2009
Posts: 2
Default

I too am going insane trying to figure this mess out
CowmasterStudios is offline   Reply With Quote
Old 08-11-2009, 09:45 PM   #9 (permalink)
Beast Mode
 
Join Date: Dec 2008
Age: 21
Posts: 1,890
Default

you can get local by bundle//@"imagename.png"
__________________
I really do this.
Bertrand21 is offline   Reply With Quote
Old 02-01-2010, 02:50 AM   #10 (permalink)
Registered Member
 
Join Date: Feb 2009
Location: India
Posts: 137
Default

I created a similar stuff for my store application... I followed the tutorial from herePhoto Image App with a little tweak .

Check whether it helps
-John

Last edited by JohnMabassa; 02-01-2010 at 02:54 AM.
JohnMabassa is offline   Reply With Quote
Old 07-13-2010, 09:16 AM   #11 (permalink)
Registered Member
 
Join Date: Oct 2009
Posts: 4
Default Images diaporama full project sample released!

Here is my little help to iphone dev community on an HOT topic!

I spent almost 2 days and nights on this project sample and it's now there : Images diaporama in iPhone 3 and 4 code project !

Download it there
( Link : http://www.jmapp.com/file/jmDiap.zip )

You can Pinch, move, double tap zoom and it is very light. The core uses a UIScrollView and severals UIControllerViews, along with custom scale transform code, plus a Custom UIPageControl. Feel free to use this in your app project as long as you add a back link to me, thanks!

Happy ObjC programming
julien meyer
iPhone Apps by julien meyer
Brizzly is offline   Reply With Quote
Old 02-01-2011, 12:43 AM   #12 (permalink)
Registered Member
 
Join Date: Oct 2008
Location: San Diego
Posts: 4
Default

Julien,

Thanks for writing this library, it's very useful. I got it up and running my image slideshow with almost no modifications. I did have to fix a couple of lines of code that were hardcoded to the dimensions of the iPhone screen. With a couple of changes it seems to be running fine on both the iPhone and the iPad.

For anyone else that wants to run this code on the iPad, the lines to change are in DiapController and are easy to spot. I changed the 320s and 480s to self.view.bounds.size.(width / height). There's also a 300 or so which I changed to width - 20. Something like that. It's pretty simple.

Thanks again.
__________________
Party Pal - Standard a social quiz game for 3-10 players.
mahr is offline   Reply With Quote
Old 02-15-2011, 01:21 AM   #13 (permalink)
Registered Member
 
Join Date: Jul 2008
Posts: 10
Default

Quote:
Originally Posted by mahr View Post
Julien,

Thanks for writing this library, it's very useful. I got it up and running my image slideshow with almost no modifications. I did have to fix a couple of lines of code that were hardcoded to the dimensions of the iPhone screen. With a couple of changes it seems to be running fine on both the iPhone and the iPad.

For anyone else that wants to run this code on the iPad, the lines to change are in DiapController and are easy to spot. I changed the 320s and 480s to self.view.bounds.size.(width / height). There's also a 300 or so which I changed to width - 20. Something like that. It's pretty simple.

Thanks again.
Have you tried looking at the WWDC2010 Session Video/Sample Code? Have a look at session 104 and the PhotoScroller sample code.
leed76 is offline   Reply With Quote
Old 03-03-2011, 12:30 PM   #14 (permalink)
Registered Member
 
Join Date: May 2009
Posts: 29
Default MWPhotoBrowser

I've written a simple and easy to use photo browser called MWPhotoBrowser.

It is an implementation of a photo viewer that I wrote allowing the user to view one or more images in a similar way to the native Photos app. It can display one or more images by providing either UIImage objects, file paths to images on the device, or URLs images online. Photos can also be zoomed and panned.

View MWPhotoBrowser on GitHub

Hope this helps!
Bisbo is offline   Reply With Quote
Old 03-16-2011, 11:33 AM   #15 (permalink)
Registered Member
 
Join Date: Mar 2011
Posts: 8
Default

Bisbo this code is really good, it's exactly what i have been trying to achieve!
The layout is really clean making it really easy to follow, although most of it way above my head!

How could i convert the 'Menu' into xib so i could customize in Interface Builder instead of coding it?

Also, i inserted custom images that covered the whole cell, how do i go about having the image resize from portrait to landscape?

Any help would be fantastic!!!

Cheers!
Recon is offline   Reply With Quote
Old 06-08-2011, 04:34 PM   #16 (permalink)
Registered Member
 
Join Date: Jun 2011
Posts: 1
Default

Quote:
Originally Posted by Bisbo View Post
I've written a simple and easy to use photo browser called MWPhotoBrowser.

It is an implementation of a photo viewer that I wrote allowing the user to view one or more images in a similar way to the native Photos app. It can display one or more images by providing either UIImage objects, file paths to images on the device, or URLs images online. Photos can also be zoomed and panned.

View MWPhotoBrowser on GitHub

Hope this helps!

thanks very much mwaterfall, your library helped me a lot , by i have a question and hope find answer from you, please tell me how i can display two pages side by side in landscape mode when the device is ipad
nasser_yacout is offline   Reply With Quote
Reply

Bookmarks

Tags
images, photo app, photos, uiscrollview

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



» Advertisements
» Online Users: 252
13 members and 239 guests
2WeeksToGo, AdamL, ADY, BrianSlick, Dani77, Dattee, headkaze, mer10, mgon987, timle8n1, Touchmint, vigu360
Most users ever online was 1,187, 10-11-2011 at 08:09 AM.
» Stats
Members: 158,879
Threads: 89,228
Posts: 380,746
Top Poster: BrianSlick (7,129)
Welcome to our newest member, mgon987
Powered by vBadvanced CMPS v3.1.0

All times are GMT -5. The time now is 12:47 PM.
Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0