Project

General

Profile

Bug #10476

website gallery - virtual copies not exported as expected

Added by Krzysztof Cierpisz about 5 years ago. Updated about 5 years ago.

Status:
New
Priority:
Low
Assignee:
-
Category:
Lighttable
Target version:
-
Start date:
05/20/2015
Due date:
% Done:

0%

Estimated time:
Affected Version:
1.6.6
System:
other GNU/Linux
bitness:
64-bit
hardware architecture:
amd64/x86

Description

when you create a virtual copy of an image with different crop, and export to "website gallery", both exported images will be exactly the same.

@

<a class="dia" rel="lightbox[viewer]" title="150517_114531_IMG_9884.jpg -  " href="150517_114531_IMG_9884.jpg"><span></span><img src="150517_114531_IMG_9884-thumb.jpg" alt="img2" class="img"/></a>
<h1> </h1>
 

&lt;a class="dia" rel="lightbox[viewer]" title="150517_114531_IMG_9884.jpg - &nbsp;" href="150517_114531_IMG_9884.jpg"&gt;&lt;span&gt;&lt;/span&gt;&lt;img src="150517_114531_IMG_9884-thumb.jpg" alt="img3" class="img"/&gt;&lt;/a&gt;
&lt;h1&gt;&nbsp;&lt;/h1&gt;
&nbsp;

@

History

#1 Updated by Pascal de Bruijn about 5 years ago

Are you sure you applied the crop to the duplicated image? As long as the darker cropped area remains visible the image is not actually cropped yet. Just like with the GIMP, when you doubleclick in the middle (or close the module), the crop will be actually applied.

#2 Updated by Krzysztof Cierpisz about 5 years ago

yes, I am sure.

see attachment

in folder "usual_export" you see 3 exported files (it's the export "file on disk")
in folder "website_gal" are all the file from exporting these 3 files as website gallery (only 1 jpg was gnerated).

index.html generated 3 divs for 3 images but all with same original image path:

<body>
    <div class="title">test website gallery</div>
    <div class="page">

      <div><a class="dia" rel="lightbox[viewer]" title="original.jpg - &nbsp;" href="original.jpg"><span></span><img src="original-thumb.jpg" alt="img1" class="img"/></a>
      <h1>&nbsp;</h1>
      &nbsp;</div>

      <div><a class="dia" rel="lightbox[viewer]" title="original.jpg - &nbsp;" href="original.jpg"><span></span><img src="original-thumb.jpg" alt="img2" class="img"/></a>
      <h1>&nbsp;</h1>
      &nbsp;</div>

      <div><a class="dia" rel="lightbox[viewer]" title="original.jpg - &nbsp;" href="original.jpg"><span></span><img src="original-thumb.jpg" alt="img3" class="img"/></a>
      <h1>&nbsp;</h1>
      &nbsp;</div>
        <p style="clear:both;"></p>
    </div>
    <div class="footer">
      <script language="JavaScript" type="text/javascript">
      document.write("download all: <em>wget -r -np -nc -k " + document.documentURI + "</em>")
      </script><br />
      created with darktable 1.6.6
    </div>
  </body>

Not sure if attachments are there so here the extract:

$ tree .
.
├── bug_tracker
│   ├── 1_original_plus_2crops.png
│   ├── usual_export
│   │   ├── original_01.jpg
│   │   ├── original_02.jpg
│   │   └── original.jpg
│   └── website_gal
│       ├── index.html
│       ├── js
│       │   ├── builder.js
│       │   ├── effects.js
│       │   ├── lightbox.js
│       │   ├── lightbox-web.js
│       │   ├── prototype.js
│       │   └── scriptaculous.js
│       ├── original.jpg
│       ├── original-thumb.jpg
│       └── style
│           ├── bullet.gif
│           ├── close.gif
│           ├── closelabel.gif
│           ├── donate-button.gif
│           ├── download-icon.gif
│           ├── favicon.ico
│           ├── image-1.jpg
│           ├── lightbox.css
│           ├── loading.gif
│           ├── nextlabel.gif
│           ├── prevlabel.gif
│           ├── style.css
│           └── thumb-1.jpg
├── original_01.png.xmp
├── original_02.png.xmp
├── original.png
└── original.png.xmp

5 directories, 30 files

Also available in: Atom PDF

Go to top