Photo Gallery Porgram

Hi everyone, hope you are all well.
I am hoping someone here will be able to help me with a
problem I am having with a photo gallery program I am trying to
create.
I am using Macromedia Director MX 2004.
So basically what I am trying to create is a photo gallery
where the user can upload pictures and photographs from their
computer/laptop/USB stick/CD/DVD etc into the program.
So when the user views the album the first picture will
appear as a large photo with a text box beside it containing a
discription. Underneath this is thumbnails of the rest of the
photos in the album and the user can scroll back and forwards and
select a thumbnail to be displayed as the large photo on the
screen.
My problem is I haven't been able to find anywhere a
behaviour, piece of lingo or anything that will allow pictures to
be scrolled.
I already know how to use the custom scrollbar within
director but this has only worked with text and scrolling up and
down, not left and right.
I have thought of putting the photos into some sort of
textbox or something and getting it to move left and right but the
problem is I wont know how many photos the user will upload into
the album.
Can anyone help me and/or point me in the direction of a
director example so I can see how it works and the lingo behind it?
Many thanks

cast member name : script filmStrip manager
global gFilmStripMgr
property pFilmStrip
property pIconImg
on new me
me.initData()
return me
end
on initData me
baRegister("sharp",2294439)
pIconImg = [:]
pIconImg[#orderList] = []
pIconImg[#maxSpeed] = 15
pIconImg[#leftLimit] = -300 --
왼쪽으로 이 값에
도달하면 재 배열을
한다...
pIconImg[#rightLimit] = 100 --
오른쪽으로 이 값에
도달하면 재 배열을
한다...
pIconImg[#curPos] = -100 -- 이
값에서 시작을
한다...
pIconImg[#distance] = 200 -- 각
아이콘 사이의
거리...
pFilmStrip = [:]
pFilmStrip[#folderList] = baFolderList( _movie.path )
pFilmStrip[#curFolderNum] = 1
pFilmStrip[#fileList] = []
pFilmStrip[#startNum] = 1 -- 플름
스트립의 왼쪽
첫번째 리스트
번호...
pFilmStrip[#fileNum] = 1 -- 현재
보여주는 파일의
이름...
me.resetFileList()
pFilmStrip[#folderText] = member("text folderName")
end
on resetFileList me
-- 현재 지정한
폴더의 파일
리스트를
갱신해준다.
curFolderName =
pFilmStrip.folderList[pFilmStrip.curFolderNum]
pFilmStrip.fileList = baFileList( _movie.path &
curFolderName, "*.*" )
-- 필요 없는
종류는 걸러준다...
repeat with i = pFilmStrip.fileList.count down to 1
file_Name = pFilmStrip.fileList
file_extension = file_Name.char[file_Name.length -
2..file_Name.length]
case file_extension of
"jpg", "avi" :
-- 이 두가지
파일만 허용한다...
otherwise :
pFilmStrip.fileList.deleteAt(i)
end case
end repeat
pFilmStrip.fileNum = pFilmStrip.fileList.count --
이래야지
화면에서는
처음것부터
보이겠지...
pIconImg.curPos = -100
end
on viewFolderName me
-- 현재 폴더 이름
보여주고...
pFilmStrip.folderText.text = me.getCurFolderPath()
end
on getCurFolderPath me
-- 현재 폴더의
경로를 반환한다.
curFolderName =
pFilmStrip.folderList[pFilmStrip.curFolderNum]
return _movie.path & curFolderName
end
on getImgPath me, orderNum
-- 현재 폴더의 큰
그림 이미지를
반환...
curFolderPath = me.getCurFolderPath()
curFileName = me.getFileName(orderNum)
imgFilePath = curFolderPath & "\" & curFileName
return imgFilePath
end
on getFileName me, orderNum
-- 파일 이름을
반환한다...
-- 왼쪽부터 지정한
번호번째의
이미지를
돌려준다...
listNum = pIconImg.orderList.getOne(orderNum)
if listNum = 0 then listNum = 2
curListNum = listNum + pFilmStrip.fileNum - 1
if curListNum > pFilmStrip.fileList.count then
-- 끝번보다 크면
1번으로...
curListNum = curListNum mod pFilmStrip.fileList.count
if curListNum = 0 then curListNum =
pFilmStrip.fileList.count
end if
if pFilmStrip.fileList = [] then exit
curFileName = pFilmStrip.fileList[curListNum]
return curFileName
end
-- ********************** public **************************--
on register me
if voidP(gFilmStripMgr) then
gFilmStripMgr = me.new()
else
gFilmStripMgr.initData()
end if
end
on destory me
(the actorList).deleteOne(gFilmStripMgr)
gFilmStripMgr = void
end
on registSpriteOrder me, orderNum
-- 각 필름 스트립
스프라이트의 순번
리스트를
저장한다...
pIconImg.orderList.add(orderNum)
end
on moveFolder me, moveDirection
case moveDirection of
#prev : -- 이전폴더...
그런데 처음
폴더까지 가면 다시
마지막으로...
pFilmStrip.curFolderNum = pFilmStrip.curFolderNum - 1
if pFilmStrip.curFolderNum < 1 then
pFilmStrip.curFolderNum = pFilmStrip.folderList.count
end if
#next :
-- 다음폴더...
그런데 마지막
폴더까지 가면 다시
첨으로...
pFilmStrip.curFolderNum = pFilmStrip.curFolderNum + 1
if pFilmStrip.curFolderNum > pFilmStrip.folderList.count
then
pFilmStrip.curFolderNum = 1
end if
end case
-- pIconImg = [:]
pIconImg.orderList.sort()
-- pIconImg[#maxSpeed] = 15
-- pIconImg[#leftLimit] = -300 --
왼쪽으로 이 값에
도달하면 재 배열을
한다...
-- pIconImg[#rightLimit] = 100 --
오른쪽으로 이 값에
도달하면 재 배열을
한다...
-- pIconImg[#curPos] = -100 -- 이
값에서 시작을
한다...
-- pIconImg[#distance] = 200 -- 각
아이콘 사이의
거리...
-- pFilmStrip = [:]
-- pFilmStrip[#folderList] = baFolderList( _movie.path )
-- pFilmStrip[#curFolderNum] = 1
-- pFilmStrip[#fileList] = []
pFilmStrip.startNum = 1 -- 플름
스트립의 왼쪽
첫번째 리스트
번호...
pFilmStrip.fileNum = 1 -- 현재
보여주는 파일의
이름...
-- me.resetFileList()
me.resetFileList()
me.viewFolderName()
end
on getIconImgPath me, orderNum
-- 현재 폴더의
아이콘 이미지를
반환...
curFolderPath = me.getCurFolderPath()
iconFolderPath = curFolderPath & "\icon\"
curFileName = me.getFileName(orderNum)
iconFilePath = iconFolderPath & curFileName
return iconFilePath
end
on getIconPos me, orderNum
-- 각 아이콘의
해당 좌표를 찾아서
반환한다...
listNum = pIconImg.orderList.getOne(orderNum)
newLocH = pIconImg.curPos + (listNum - 1) *
pIconImg.distance
return newLocH
end
on setMove me, speed
-- 이것은 지정한
스피드의 속도로
기준이 되는 좌표를
이동하는 것이다...
-- 그런데 전체
갯수가 1개밖에
안되면 어쩌누...
멈춰야겠지...
if pFilmStrip.fileList.count <= 4 then exit --
화면에 보여주는게
4개니까...
pIconImg.curPos = pIconImg.curPos +
integer(pIconImg.maxSpeed * speed)
if pIconImg.curPos < pIconImg.leftLimit then
pIconImg.curPos = pIconImg.curPos + pIconImg.distance
-- 첫번째 오더에
있는 넘을 맨 뒤로
보내준다...
firstNum = pIconImg.orderList[1]
pIconImg.orderList.deleteAt(1)
pIconImg.orderList.add(firstNum)
-- 왼쪽의 기준
파일을 바꿔준다...
pFilmStrip.fileNum = pFilmStrip.fileNum + 1
if pFilmStrip.fileNum > pFilmStrip.fileList.count then
-- 끝번보다 크면
1번으로...
pFilmStrip.fileNum = 1
end if
else if pIconImg.curPos > pIconImg.rightLimit then
pIconImg.curPos = pIconImg.curPos - pIconImg.distance
-- 마지막 오더에
있는 넘을 맨
처음으로
보내준다...
tempList = [pIconImg.orderList[pIconImg.orderList.count]]
repeat with i = 1 to pIconImg.orderList.count - 1
tempList.add(pIconImg.orderList)
end repeat
pIconImg.orderList = tempList
-- 왼쪽의 기준
파일을 바꿔준다...
pFilmStrip.fileNum = pFilmStrip.fileNum - 1
if pFilmStrip.fileNum < 1 then
-- 1번보다 작으면
끝번으로...
pFilmStrip.fileNum = pFilmStrip.fileList.count
end if
end if
end

Similar Messages

  • Filename in Photo Gallery

    Since updating my iPad2 to iOS 8, the filenames have vanished from the photo gallery. I am a designer and I used to take the filename of photos as reference for my clients. I have more than 8000 pictures in the gallery. Please HELP
    Hate Apple so much for ruining my work.

    I Can't ever recall seeing file names in the default Photos app. Perhaps you were using iphoto on your iPad which is no longer supported? Check the App Store for other photo handling apps To find one that shows the file names. I use Photo Manager Pro to show photos to my clients. It does a better job of that than the Photos app. you can set the preferences there to display the file name.

  • Photo gallery with Thumbnail View in Flex 3

    Hello everyone
    I very urgently need an answer to a very simple qeuestoon. I have been trying really hard since days to get a solution to this simple problem but in vain.
    I am building an application in Flex 3. I simply want to create a photo gallery with a thumbnail where when the user clicks on a thumbnail, the image is shown in the canvas/tab navigator box next to it. The images are stored in a local folder (in src) are ARE NOT on available on any web link.
    The Vbox with the thumb image and the .xml file has been created. But when I click on the thumbnail, the full image cannot be seen in the application. I dont know if this is a problem with data binding or what.
    Please help!!!
    Thanks a ton.

    Check the folder structure
    Flash is not able to get some file thats why the IO Error.
    trace the url path just before u load the file and u will be abel to find whether that file is in specified folder or not.
    http://www.darshanrane.com

  • Photo Gallery not showing photos in computer Web browser

    None of my photo gallery photos are showing up in a computer's Web browser?  They show up fine when you click "View Web Journal in Safari" on an iPad 2, but when I publish them to iCloud and Share the Web Journal Link, the photos don't show up??  It's happening with all of my Journals.  It doesn't work on a Mac or Windows?  What gives??
    You try it:https://www.icloud.com/iphoto/projects/#1;CAEQARoQdoVWsxptdYjcSQD-Rg1QVg;B692688 8-A220-4FF7-848F-6383BB15A5DB

    Arrrrrrrrrrrrrrrrgh, matey. They all show for me in Safari but require several page refreshes to get them all to display.  Those that don't display will if I click on it and then go back to the page.  However, when retuning to the first page will put be back at square one and require multiple refreshes to get them to display, but not always.
    Also, the page links are all messed up.  Clicking on them just returns me to the first page. If I Option click on a page link from Page 1 I will get to the right page. 
    I am unable to get Firefox or Chrome to work at all on your gallery. 
    Send a bug report to Apple via http://www.apple.com/feedback/iphoto.html.  You can include the URL to this topic in order to include my comments and findings.
    OT

  • Photo Gallery bug in IE7

    http://labs.adobe.com/technologies/spry/demos/gallery_pe/dynamic/index.html
    On mouseover, selected thumbnail expands behind other
    thumbnails instead of hovering over them. Works fine in FF.
    Is there a way to fix/override this?

    @Kin
    The gallery demo files do not put an anchor link around the
    thumbnails. The article you list is describing how to alter the
    files for (newer?) examples that require about 8 different include
    files -- which, given the already HUGE download hit required to run
    a photo gallery, seems excessive.
    Can adobe not write up a solution that works for the sample
    files for the gallery that only requires 3 includes + 1 css file
    (which can be added to your own style sheet to avoid yet another
    file download)?
    Or, is there someway to grow the thumbnails from the bottom
    right corner, thus avoiding any overlap by subsequent thumbs? I
    tried setting the grow from center to false in SpryEffects but it
    appeared to have no effect on the function in the gallery.

  • Photo gallery problems in Vista IE

    Hi there,
    I've made Spry Photo Gallery which works fine on Mac(Safari, Opera, Firefox) on Windows 2000 pro IE but don't work on Vista IE.
    I can not find a problem. Can anyone help!

    It is an HP dv6040ca that has vista 64-bit on it. It has a NVIDIA sata driver, that I have tried to up date today.
    Drat. HP has been offering a Microsoft Standard Dual Channel PCI IDE Controller Update/Rollback that has been helping with this sort of thing on desktop models (32-bit), but they aren't offering it on notebooks.
    Are you up to date on that BIOS update they are offering? (They don't say what it does, but it might be worth a crack.)
    Software & Driver downloads: HP Pavilion dv6040ca Notebook PC (Vista 64-bit)

  • Photo Gallery Database in Dreamweaver Help

    Can anyone offer advise on a simple solution for a photo gallery based on a database that can be intergrated to a website that I'm creating in Dreamweaver. Does anyone know of any widget like options and or templates? Thanks in advance.

    I have a PHP script that dynamically populates the page with images from a folder.  I don't keep images in a database.
    http://alt-web.com/GALLERY/GalleryTest.php
    Nancy O.

  • Photo Gallery - works in Safari but not Firefox .. ?

    Hi,
    I have a photo gallery at http://www.sg-karting.com/Racing/Photos/Photos.html
    When I go into the albums, pictures are displayed in Safari but not on Firefox.
    When creating this page on iWeb I selected 'Web Gallery' instead of 'Album'. Does this make any difference?
    Regards.

    I have just visited "http://www.sg-karting.com/Racing/Photos/Pages/KartingEdgeRound-1.html" using both Safari Version 3.0.4 (523.12) and Firefox version 2.0.0.9 on a G4 PB 10.4.11. And both browsers displayed the same information from what I can see. All the pictures revealed themselves.
    Have I picked the correct album for your example?
    I tried other area's of your web site and all appeared to be the same as the Safari. Maybe you need to clear your cache.

  • Photo Gallery thumbnails in business catalyst render in different sizes in different browsers

    Photo Gallery thumbnails in business catalyst render in different sizes in safari and chrome but are fine in firefox. What is the issue with Safari? I have tried the different algorithm options such as fill_proportional etc and firefox is the only browser that displays correctly. I thought safari was the most standards compatible browser - what's the problem here?

    Hi,
    If you have seperate XML file but with the same basic structure then you can change the XML a Spry dataset refers to and regenerate the spry region without reloading the full page.
    So on my photo gallery page I can change the album the photos are shown from via the seturl sprydata function as below.  dsPhotos being my Spry dataset that points to the relevant XML dataset with my image references and captions etc.  My XML is actually dynamically generated from Picasa RSS feeds (and RSS feeds are XML) but the principle will be the same with your static XML.
    First I add an event listener for when someone clicks on an album (the li tag within my div with the id "albums" holds a photo and title for each album.)
    function Albums()
    var myalbums = Spry.$$("#albums li", "TabbedPanels1")
    var rows = dsAlbums.getData();
    var setListener = function( element, value )
      Spry.Utils.addEventListener( element, "click", function(){ showAlbum( value ); },false );
    for( var i = 0, length = myalbums.length; i < length; i++ )
      setListener( myalbums[i], i );
    Then this is the code which changes the photo album to be shown. (when the user clicks the relevant album)
    function showAlbum(i)
    pauseShow();
    pImage = 'No';
    var rows = dsAlbums.getData();
    var albumid = rows[i]["albumid"];
    var url = "xml/PicasaAphotoFeed.asp?albumid=" + albumid;
    dsPhotos.setURL(url);
    dsPhotos.loadData();
    var rowcount = dsAlbums.getRowCount() - 1;
    var nextalbum;
    var navnext;
    var n;
    The page is here www.thehmc.co.uk/photo5.html is you want to see it in context.
    In your case showAlbum would switch between Frank.xml or Wolfie.xml depending on how you decide to name your xml datasets.
    Regards
    Phil

  • Photo gallery in details view

    Hey all. I'm developing a site for a real estate agency. I have built a web app that lists and displays individual properties. I have managed to hook up Business Catalyst's Photo gallery module that displays a specific gallery (one for each property) on the details page template. I did this by creating a text sting field in the web app, into which you can input the gallery tag specific for each property. Like this: ({module_photogallery,33715, 4,,6,175,150,ThumbnailAlgorithm,fill_proportional}). This works, but the client now says they don't like the "lightbox" function of the default BC gallery module, and want it to function differently. As in having clickable thumbnails that populate a static image area. Is this possible? I understand that I could use different image galleries, if it were a gallery on a static page. My problem is that I need a gallery that can be different for each web app item and work within the details page of a web app. Any help would be appreciated.
    Here is the test link: Anne Rogers Realty Group, Inc - Committed to our clients, our neighborhood, with personalized service every time. note the way the list and details pages function.
    Thanks

    Yes,
    What you are seeing by default is shown as 'My folders' view. It's a flat alphabetical list of the last level subfolders in which you have media files.
    Click on the little yellow icon just right of the 'My folders' title bar, and you switch to the 'Folders' view which reflects what you see in your explorer. The difference is that by default, you see only subfolders having image files; if you want to display subfolders without image files, right click on the master folder and choose to show empty folders; that choice is not sticky.

  • Photo gallery in DW

    Ok, so I have my page layout almost completed in DW. Id like
    to add a photo gallery to my page, but not the kind DW
    automatically creates. Id like the gallery to stay within my page
    layout, and have a few rows of thumbnails, and when a thumbnail is
    clicked on, the larger image appears within my page layout, not a
    blank new window. Is this possible in DW?
    Im very much new to DW and FW, so any help is appreciated.
    Maybe I need another application to create the photo gallery
    and then insert into my page design?
    Please help. Thank you.

    I have a few galleries which may work for you:
    http://www.kaosweaver.com/extensions/details.php?id=82
    http://www.kaosweaver.com/extensions/details.php?id=1
    First one is free and puts the layout in a table.
    Second one is commercial ($39) and does what you want, but
    doesn't work
    in a fluid layout easily (requires extra work beyond the
    extension)
    Paul Davis
    http://www.kaosweaver.com/
    Visit us for dozens of useful Dreamweaver Extensions.
    http://www.communitymx.com/
    Partner at Community MX - Extend your knowledge
    dellvostro wrote:
    > Ok, so I have my page layout almost completed in DW. Id
    like to add a photo
    > gallery to my page, but not the kind DW automatically
    creates. Id like the
    > gallery to stay within my page layout, and have a few
    rows of thumbnails, and
    > when a thumbnail is clicked on, the larger image appears
    within my page layout,
    > not a blank new window. Is this possible in DW?
    > Im very much new to DW and FW, so any help is
    appreciated.
    > Maybe I need another application to create the photo
    gallery and then insert
    > into my page design?
    > Please help. Thank you.
    >

  • Photo gallery in as3

    I'm making photo gallery where photos will be loaded from external xml file but i have problem. I want to add an effect when photo is changing like on this site: http://www.studiomelon.pl/index.html#/1/  Could somebody help me with that? I am noob in flash so please explain it as clear as you can. Thanks.

    I was sesrching for that for a long time before i created this tread. There is many tutorials and exaple files for page flip or page turn but i cant find good one. Many of them was coded in as1 or as2 other using php and java script so its difficult  to understant. I just want one simple solution for that. It cant be so hard to create something like that. Could you help me to find some good and simple tutorial in as3?

  • Photo Gallery in Dreamweaver using Fireworks

    How do I add images to a photo gallery that I created in
    Dreamweaver using Fireworks? I created a photo gallery and I
    changed my background color and other settings, but I need to find
    any easier way to add images without messing up my settings. Each
    time I add a photo, I don't want to have to change 40+ web pages.
    Can someone please help? If there is an easier program to use, then
    I will change programs.
    Thanks for your help!

    Sorry in advance if the following comment is missing the
    point of your question.
    Ans: You need to export (>File > Export) the image that
    you have manipulated in Fireworks to an images folder in your
    dreamweaver website. You will be prompted for an optimum file
    output (JPEG, GIF etc) during this process. Then close Fireworks
    and open DW. Then place your curser at the point in the webpage
    where you want to insert the image and then select Menu > Insert
    > Image. Browse to the image that you have created in Fireworks
    and press enter. Job done! Fireworks is a fantastic s/w application
    ... and there's no need to look elsewhere.

  • Photo gallery in DW CS3

    Can someone tell me how to make a photo gallery in DW CS3? I
    mean a site with thumbnails that are linked to larger images,
    preferably all thumbnails on one site, not the filmstrip system. I
    read that there would be a gallery option in DW, but I cannot find
    it in the help, nor in the books I have. Thanks

    Nobody???

  • As icloud when I got my iphone.I recently got an iphone. Ever since I have downloaded my iphone pictures to my photo gallery on my PC, my computer crashes when i'm in photo gallery. Any suggestions? I also downloaded itunes as well

    I recently got an iphone5. Ever since I have downloaded my iphone pictures to my photo gallery on my PC, my computer crashes when i'm in photo gallery. Any suggestions? I also downloaded itunes as well as icloud when I got my iphone5.

    No, your iPhone and your iPad should not appear in the finder.
    I'm not sure what you mean about downloading photos with iPhoto being double handling, but you can download direct to a folder with Image Capture. Image Capture can also be used to delete photos from the Camera Roll on the iPhone or iPad (preferrably after they are downloaded).
    You can remove the photos you synced from your phone with iTunes by syncing again with an empty folder, That will delete all the photos that were previously synced that way, replacing them with the contents of the empty folder (that is, nothing). This will not effect photos takes with the camera on your iPhone.

Maybe you are looking for

  • How to get the type of numeric

    Hi, I would like to know how getting the type of a numeric data programmatically. (DBL, SDL, I16, I32,etc.) This property is defined by selecting "Type of data" in the property's window of a numeric data; then by clicking on "representing". I tried t

  • Invisible Text in Flash Player on Financial Website

    Just spent an hour on the phone with one of my financial sites on which I can no longer see some important text. They tried everything, none of which worked, and concluded it must be incompatibility of the adobe flash and Snow Leopard. It started rig

  • IDoc Error: No recipient found for IDoc message type in the ALE model...

    Hello Experts, I just created an IDoc for purchase orders and when I try to test it after releasing the PO, an error is shown in the processing log saying that there are no recipients found for my message type of the IDoc. I refrenced it against a wo

  • Netui:select tag

    Hi, I have a netui:select tag. When the user selects an option, I want it to execute the form's action (instead of having users to click a submit button). How do you do this? Thanks Laxman

  • External audio jack

    Is there an external audio jack on a Satellite A105-S4074.  If there is where is it? Solved! Go to Solution.