Question How Do I remove Camera Information?

Status
Not open for further replies.

marianne

Customer
Hi everyone!

I run a sewing forum where I have installed Dragonbyte Gallery, so everyone can show what they have made.
Now the software adds automatically the camera information. We don't need this for our purpose, so I would like to remove it per default.

How do I do this?

Thank you!
 
You can delete the info from the template where they add/edit the images. If they don't submit the data then it wont display any fields for it.

Open the template dbtech_gallery_image_edit

and delete

PHP:
            <div style="float: {vb:stylevar left}; vertical-align: top; margin-bottom: 15px; width: 150px;">
                {vb:rawphrase dbtech_gallery_cam_make}
            </div>
            <div style="float: {vb:stylevar left}; vertical-align: top; margin-bottom: 15px;">
                <vb:if condition="$editimage">
                <input type="text" size="65" name="camera_make" id="camera_make" value="{vb:raw image_data.camera_make}" />
                <vb:else />
                <input type="text" size="65" name="camera_make_{vb:raw image_data.imageid}" id="camera_make_{vb:raw image_data.imageid}" value="{vb:raw image_data.camera_make}" />
                </vb:if>
            </div>
            <div style="clear: {vb:stylevar left};"></div>

            <div style="float: {vb:stylevar left}; vertical-align: top; margin-bottom: 15px; width: 150px;">
                {vb:rawphrase dbtech_gallery_cam_model}
            </div>
            <div style="float: {vb:stylevar left}; vertical-align: top; margin-bottom: 15px;">
                <vb:if condition="$editimage">
                <input type="text" size="65" name="camera_model" id="camera_model" value="{vb:raw image_data.camera_model}" />
                <vb:else />
                <input type="text" size="65" name="camera_model_{vb:raw image_data.imageid}" id="camera_model_{vb:raw image_data.imageid}" value="{vb:raw image_data.camera_model}" />
                </vb:if>
            </div>
            <div style="clear: {vb:stylevar left};"></div>

            <div style="float: {vb:stylevar left}; vertical-align: top; margin-bottom: 15px; width: 150px;">
                {vb:rawphrase dbtech_gallery_cam_aperture}
            </div>
            <div style="float: {vb:stylevar left}; vertical-align: top; margin-bottom: 15px;">
                <vb:if condition="$editimage">
                <input type="text" size="65" name="aperture" id="aperture" value="{vb:raw image_data.aperture}" />
                <vb:else />
                <input type="text" size="65" name="aperture_{vb:raw image_data.imageid}" id="aperture_{vb:raw image_data.imageid}" value="{vb:raw image_data.aperture}" />
                </vb:if>
            </div>
            <div style="clear: {vb:stylevar left};"></div>

            <div style="float: {vb:stylevar left}; vertical-align: top; margin-bottom: 15px; width: 150px;">
                {vb:rawphrase dbtech_gallery_cam_iso}
            </div>
            <div style="float: {vb:stylevar left}; vertical-align: top; margin-bottom: 15px;">
                <vb:if condition="$editimage">
                <input type="text" size="65" name="iso" id="iso" value="{vb:raw image_data.iso}" />
                <vb:else />
                <input type="text" size="65" name="iso_{vb:raw image_data.imageid}" id="iso_{vb:raw image_data.imageid}" value="{vb:raw image_data.iso}" />
                </vb:if>
            </div>
            <div style="clear: {vb:stylevar left};"></div>

            <div style="float: {vb:stylevar left}; vertical-align: top; margin-bottom: 15px; width: 150px;">
                {vb:rawphrase dbtech_gallery_cam_datetime}
            </div>
            <div style="float: {vb:stylevar left}; vertical-align: top; margin-bottom: 15px;">
                <vb:if condition="$editimage">
                <input type="text" size="65" name="img_datetime" id="img_datetime" value="{vb:raw image_data.img_datetime}" />
                <vb:else />
                <input type="text" size="65" name="img_datetime_{vb:raw image_data.imageid}" id="img_datetime_{vb:raw image_data.imageid}" value="{vb:raw image_data.img_datetime}" />
                </vb:if>
            </div>
            <div style="clear: {vb:stylevar left};"></div>
 
Sorry, the red was a byproduct of using the PHP tag. You delete everything in there, blue, red and green :)
 
Status
Not open for further replies.

Legacy DragonByte Gallery

vBulletin 4.x.x
Seller
DragonByte Technologies
Release date
Last update
Total downloads
865
Customer rating
0.00 star(s) 0 ratings
Top