DNN Hosting Register Login
 
Latest Discussions Minimize
A couple questions by Ryan
1) How do I upgrade UVG2) How can I disable the ability for users to be able to ...
UPG Error on Local Site Build by pinepoint
I am testing UMG in Visual Web Developer 2008 Express with DNN 4.8.4 and get the...
Laying out modules - AJAXModuleWrapper? by phixate
I want to lay out the video player to the left of the video list with a backgrou...
Getting rid of bottom controls in video player by phixate
I want to turn off the controls at the bottom and just have a Youtube style play...
Installation Issues by JNagy
I have purchased both UMG and UVG and I am having trouble installing both of the...
Captcha by kbjeff
Hi Pengtsen,We may have asked for this before, but I'd really like to offer the ...
Random videos by kbjeff
Hi Pengtsen,On my homepage, I'd like the option to show random video samples rat...
New Version by pietje_puk100
Hi Pengtsen,I noticed that there was a new release on Snowcoverd of the UVG modu...
Upload errors by makkabokka
I am getting these errors lately since I upgraded my website from 4.6.4 to 4.8.4...
Click on appearance (3d Carousell) results in by jellyfish2646
Value 0.1 of MaximumValue-Property of RangeValidator5 must not be converted to D...
Our Partnership Minimize
If you are looking for good DNN hosting, then PowerDNN is the best DNN host around!
Support Forum Minimize
Subject: Resize complete Album
Prev Next
You are not authorized to post a reply.

Author Messages
Andre van den Berg
Posts:89
Diamond Member

06/14/2008 1:49 AM  

Hello,

Is it possible to resize a complete album afterwards? I created a album and did not set the resize option.

Now when i use the lightbox option i get realy big photo's. that don't fit on the screen.

So i want to resize them so it's looking good in the lightbox.

Pengtsen R
Posts:4596
Site Administrator


06/14/2008 5:52 AM  
well, the pictures are resized when you uplaod them, it seems you can't resize them to a different resolution after creation.

Pengtsen R
http://www.bizmodules.net
Andre van den Berg
Posts:89
Diamond Member

06/14/2008 6:07 AM  
How to resolve this?
Andre van den Berg
Posts:89
Diamond Member

06/14/2008 12:53 PM  
I mean so that i not lose my title and description.
Pengtsen R
Posts:4596
Site Administrator


06/14/2008 7:43 PM  
it seems this can't be done :(

Pengtsen R
http://www.bizmodules.net
Andre van den Berg
Posts:89
Diamond Member

06/16/2008 2:58 AM  

I solved the problem with the following steps:

1. Make a temp table with name: BizModules_UPG_Photo_Kopie

GO

/****** Object: Table [dbo].[BizModules_UPG_Photo_Kopie] Script Date: 06/16/2008 08:28:48 ******/

SET ANSI_NULLS ON

GO

SET QUOTED_IDENTIFIER ON

GO

SET ANSI_PADDING ON

GO

CREATE TABLE [dbo].[BizModules_UPG_Photo_Kopie](

[ItemId] [int] IDENTITY(1,1) NOT NULL,

[AlbumId] [int] NOT NULL,

[Title] [nvarchar](150) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,

[Description] [nvarchar](1000) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,

[Link] [nvarchar](150) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,

[Src] [varchar](150) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,

[Approved] [bit] NOT NULL,

[CreatedByUser] [int] NOT NULL,

[CreatedDate] [smalldatetime] NOT NULL,

[LastModifiedDate] [smalldatetime] NULL,

[SortOrder] [int] NULL,

[DownloadId] [int] NULL,

[TnWidth] [int] NULL,

[TnHeight] [int] NULL,

[ExifDescription] [nvarchar](1000) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,

[TakenDate] [smalldatetime] NULL,

CONSTRAINT [PK_BizModules_UPG_Photo_Kopie] PRIMARY KEY CLUSTERED

(

[ItemId] ASC

)WITH (PAD_INDEX = OFF, IGNORE_DUP_KEY = OFF) ON [PRIMARY]

) ON [PRIMARY]

GO

SET ANSI_PADDING OFF

GO

ALTER TABLE [dbo].[BizModules_UPG_Photo_Kopie] WITH CHECK ADD CONSTRAINT [FK_BizModules_UPG_Photo_BizModules_UPG_Album_Kopie] FOREIGN KEY([AlbumId])

REFERENCES [dbo].[BizModules_UPG_Album] ([ItemId])

GO

ALTER TABLE [dbo].[BizModules_UPG_Photo_Kopie] CHECK CONSTRAINT [FK_BizModules_UPG_Photo_BizModules_UPG_Album_Kopie]


2. Copy data from the table: BizModules_UPG_Photo of the album to the table: BizModules_UPG_Photo_Kopie

INSERT INTO BizModules_UPG_Photo_Kopie

(AlbumId, Title, Description, Link, Src, Approved, CreatedByUser, CreatedDate, LastModifiedDate, SortOrder, DownloadId, TnWidth, TnHeight, ExifDescription,

TakenDate)

SELECT AlbumId, Title, Description, Link, Src, Approved, CreatedByUser, CreatedDate, LastModifiedDate, SortOrder, DownloadId, TnWidth, TnHeight, ExifDescription,

TakenDate

FROM BizModules_UPG_Photo AS BizModules_UPG_Photo

WHERE (AlbumId = 98)

3. Select all photo's in the manage photo's and klik remove.

4. Copy the original JPG files to the Large directory.

5. Run synchronise

6. Update the table: BizModules_UPG_Photo with the data that you made a copy in step 2. from the table: BizModules_UPG_Photo_Kopie.

UPDATE BizModules_UPG_Photo

SET BizModules_UPG_Photo.Title = BizModules_UPG_Photo_Kopie.Title, BizModules_UPG_Photo.Description = BizModules_UPG_Photo_Kopie.Description,

BizModules_UPG_Photo.SortOrder = BizModules_UPG_Photo_Kopie.SortOrder

FROM BizModules_UPG_Photo INNER JOIN

BizModules_UPG_Photo_Kopie ON BizModules_UPG_Photo.Src = BizModules_UPG_Photo_Kopie.Src AND

BizModules_UPG_Photo.AlbumId = BizModules_UPG_Photo_Kopie.AlbumId

7. And you have the Title, Description, Sortoder with the photo's again.
Andre van den Berg
Posts:89
Diamond Member

06/16/2008 3:04 AM  
Why do i still see in the presentation the file name in the title and the same in the lightbox. Is there somewhere cache?

How to solve this.

In the manage photo's i see the title en description correct.
Pengtsen R
Posts:4596
Site Administrator


06/16/2008 4:19 AM  
maybe you should edit a photo to clear the xml cache.

Pengtsen R
http://www.bizmodules.net
Andre van den Berg
Posts:89
Diamond Member

06/16/2008 6:33 AM  
How to regenerate xml cache?
Pengtsen R
Posts:4596
Site Administrator


06/16/2008 8:29 PM  
edit a photo, any photo, then UMG regenerate it.

Pengtsen R
http://www.bizmodules.net
Andre van den Berg
Posts:89
Diamond Member

06/16/2008 9:19 PM  
I did that and it's working, thank you.
Pengtsen R
Posts:4596
Site Administrator


06/17/2008 6:18 AM  
great.

Pengtsen R
http://www.bizmodules.net
You are not authorized to post a reply.
Forums > Ultra Media Gallery > General Questions > Resize complete Album

Enterprise level DotNetNuke Solutions Copyright © 2005-2008 BizModules   |  Contact Us  |  Terms Of Use  |  Privacy Statement