Adding link in a figure problem











up vote
0
down vote

favorite












enter image description here



The link in not on the full image, why? I want to go the link clicking on any part of the image.



documentclass[a4paper,12pt]{standalone}
usepackage{hyperref,booktabs,graphicx}
newcommand{pcntr}[1]{$vcenter{hbox{#1}}$}
begin{document}
centering
begin{tabular}{llll}
toprule
Image & Name & Weight & Price\
toprule
href{https://www.facebook.com/HoneyDate-339551993499615/}{pcntr{includegraphics[width=3cm]{Image/dabbasPk.png}}} & Dabbas & 400gm & 100tk\
pcntr{includegraphics[width=3cm]{Image/dabbasCrownPk.jpg}} & Dabbas Crown & 1kg & 270tk\
pcntr{includegraphics[width=3cm]{Image/neghalCrownPk.jpg}} & Neghal Crown & 800gm & 220tk\
pcntr{includegraphics[width=3cm]{Image/zahdiPk.jpg}} & Zahdi & 500gm & 90tk\
pcntr{includegraphics[width=3cm]{Image/zahdiCrownPk.jpeg}} & Zahdi Crown & 1kg & 200tk\
pcntr{includegraphics[width=3cm]{Image/raisin.jpg}} & Raisin(Dried grape) & 100gm & 45tk\
pcntr{includegraphics[width=3cm]{Image/raisinBlack.jpg}} & Raizin(light Black) & 100gm & 50tk\
pcntr{includegraphics[width=3cm]{Image/blackSeed.jpg}} & Black Seed & 100gm & 40tk\
pcntr{includegraphics[width=3cm]{Image/woodNut.jpg}} & Wood Nut & 100gm & 100tk\
pcntr{includegraphics[width=3cm]{example-image-a}} & Black Seed's Oil & 70ml & 170tk\
pcntr{includegraphics[width=3cm]{example-image-b}} & Sesame's Oil(Tiler Tel) & 70ml & 100tk\
bottomrule
end{tabular}
end{document}








share






















  • It might have to do with your image, I get a full link if I use href{https://www.facebook.com/HoneyDate-339551993499615/}{pcntr{includegraphics[width=3cm]{example-image-a}}}.
    – marmot
    2 mins ago















up vote
0
down vote

favorite












enter image description here



The link in not on the full image, why? I want to go the link clicking on any part of the image.



documentclass[a4paper,12pt]{standalone}
usepackage{hyperref,booktabs,graphicx}
newcommand{pcntr}[1]{$vcenter{hbox{#1}}$}
begin{document}
centering
begin{tabular}{llll}
toprule
Image & Name & Weight & Price\
toprule
href{https://www.facebook.com/HoneyDate-339551993499615/}{pcntr{includegraphics[width=3cm]{Image/dabbasPk.png}}} & Dabbas & 400gm & 100tk\
pcntr{includegraphics[width=3cm]{Image/dabbasCrownPk.jpg}} & Dabbas Crown & 1kg & 270tk\
pcntr{includegraphics[width=3cm]{Image/neghalCrownPk.jpg}} & Neghal Crown & 800gm & 220tk\
pcntr{includegraphics[width=3cm]{Image/zahdiPk.jpg}} & Zahdi & 500gm & 90tk\
pcntr{includegraphics[width=3cm]{Image/zahdiCrownPk.jpeg}} & Zahdi Crown & 1kg & 200tk\
pcntr{includegraphics[width=3cm]{Image/raisin.jpg}} & Raisin(Dried grape) & 100gm & 45tk\
pcntr{includegraphics[width=3cm]{Image/raisinBlack.jpg}} & Raizin(light Black) & 100gm & 50tk\
pcntr{includegraphics[width=3cm]{Image/blackSeed.jpg}} & Black Seed & 100gm & 40tk\
pcntr{includegraphics[width=3cm]{Image/woodNut.jpg}} & Wood Nut & 100gm & 100tk\
pcntr{includegraphics[width=3cm]{example-image-a}} & Black Seed's Oil & 70ml & 170tk\
pcntr{includegraphics[width=3cm]{example-image-b}} & Sesame's Oil(Tiler Tel) & 70ml & 100tk\
bottomrule
end{tabular}
end{document}








share






















  • It might have to do with your image, I get a full link if I use href{https://www.facebook.com/HoneyDate-339551993499615/}{pcntr{includegraphics[width=3cm]{example-image-a}}}.
    – marmot
    2 mins ago













up vote
0
down vote

favorite









up vote
0
down vote

favorite











enter image description here



The link in not on the full image, why? I want to go the link clicking on any part of the image.



documentclass[a4paper,12pt]{standalone}
usepackage{hyperref,booktabs,graphicx}
newcommand{pcntr}[1]{$vcenter{hbox{#1}}$}
begin{document}
centering
begin{tabular}{llll}
toprule
Image & Name & Weight & Price\
toprule
href{https://www.facebook.com/HoneyDate-339551993499615/}{pcntr{includegraphics[width=3cm]{Image/dabbasPk.png}}} & Dabbas & 400gm & 100tk\
pcntr{includegraphics[width=3cm]{Image/dabbasCrownPk.jpg}} & Dabbas Crown & 1kg & 270tk\
pcntr{includegraphics[width=3cm]{Image/neghalCrownPk.jpg}} & Neghal Crown & 800gm & 220tk\
pcntr{includegraphics[width=3cm]{Image/zahdiPk.jpg}} & Zahdi & 500gm & 90tk\
pcntr{includegraphics[width=3cm]{Image/zahdiCrownPk.jpeg}} & Zahdi Crown & 1kg & 200tk\
pcntr{includegraphics[width=3cm]{Image/raisin.jpg}} & Raisin(Dried grape) & 100gm & 45tk\
pcntr{includegraphics[width=3cm]{Image/raisinBlack.jpg}} & Raizin(light Black) & 100gm & 50tk\
pcntr{includegraphics[width=3cm]{Image/blackSeed.jpg}} & Black Seed & 100gm & 40tk\
pcntr{includegraphics[width=3cm]{Image/woodNut.jpg}} & Wood Nut & 100gm & 100tk\
pcntr{includegraphics[width=3cm]{example-image-a}} & Black Seed's Oil & 70ml & 170tk\
pcntr{includegraphics[width=3cm]{example-image-b}} & Sesame's Oil(Tiler Tel) & 70ml & 100tk\
bottomrule
end{tabular}
end{document}








share













enter image description here



The link in not on the full image, why? I want to go the link clicking on any part of the image.



documentclass[a4paper,12pt]{standalone}
usepackage{hyperref,booktabs,graphicx}
newcommand{pcntr}[1]{$vcenter{hbox{#1}}$}
begin{document}
centering
begin{tabular}{llll}
toprule
Image & Name & Weight & Price\
toprule
href{https://www.facebook.com/HoneyDate-339551993499615/}{pcntr{includegraphics[width=3cm]{Image/dabbasPk.png}}} & Dabbas & 400gm & 100tk\
pcntr{includegraphics[width=3cm]{Image/dabbasCrownPk.jpg}} & Dabbas Crown & 1kg & 270tk\
pcntr{includegraphics[width=3cm]{Image/neghalCrownPk.jpg}} & Neghal Crown & 800gm & 220tk\
pcntr{includegraphics[width=3cm]{Image/zahdiPk.jpg}} & Zahdi & 500gm & 90tk\
pcntr{includegraphics[width=3cm]{Image/zahdiCrownPk.jpeg}} & Zahdi Crown & 1kg & 200tk\
pcntr{includegraphics[width=3cm]{Image/raisin.jpg}} & Raisin(Dried grape) & 100gm & 45tk\
pcntr{includegraphics[width=3cm]{Image/raisinBlack.jpg}} & Raizin(light Black) & 100gm & 50tk\
pcntr{includegraphics[width=3cm]{Image/blackSeed.jpg}} & Black Seed & 100gm & 40tk\
pcntr{includegraphics[width=3cm]{Image/woodNut.jpg}} & Wood Nut & 100gm & 100tk\
pcntr{includegraphics[width=3cm]{example-image-a}} & Black Seed's Oil & 70ml & 170tk\
pcntr{includegraphics[width=3cm]{example-image-b}} & Sesame's Oil(Tiler Tel) & 70ml & 100tk\
bottomrule
end{tabular}
end{document}






hyperref





share












share










share



share










asked 9 mins ago









alhelal

984119




984119












  • It might have to do with your image, I get a full link if I use href{https://www.facebook.com/HoneyDate-339551993499615/}{pcntr{includegraphics[width=3cm]{example-image-a}}}.
    – marmot
    2 mins ago


















  • It might have to do with your image, I get a full link if I use href{https://www.facebook.com/HoneyDate-339551993499615/}{pcntr{includegraphics[width=3cm]{example-image-a}}}.
    – marmot
    2 mins ago
















It might have to do with your image, I get a full link if I use href{https://www.facebook.com/HoneyDate-339551993499615/}{pcntr{includegraphics[width=3cm]{example-image-a}}}.
– marmot
2 mins ago




It might have to do with your image, I get a full link if I use href{https://www.facebook.com/HoneyDate-339551993499615/}{pcntr{includegraphics[width=3cm]{example-image-a}}}.
– marmot
2 mins ago















active

oldest

votes











Your Answer








StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "85"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});

function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});


}
});














 

draft saved


draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f461948%2fadding-link-in-a-figure-problem%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown






























active

oldest

votes













active

oldest

votes









active

oldest

votes






active

oldest

votes
















 

draft saved


draft discarded



















































 


draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f461948%2fadding-link-in-a-figure-problem%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

A CLEAN and SIMPLE way to add appendices to Table of Contents and bookmarks

Calculate evaluation metrics using cross_val_predict sklearn

Insert data from modal to MySQL (multiple modal on website)